• F
    Add grad for lodtensor array ops (#5461) · b698d19b
    fengjiayi 提交于
    * Add LoDRankTable
    
    LoD Rank Table stores the `level` of `lod` which is ordered by sequence
    length in descending order. It is useful when implement dynamic RNN and
    is shared by dynamic RNN memory, dynamic RNN slice input and dynamic
    RNN slice output operators.
    
    * Add skeleton for array_to_lod_tensor and lod_tensor_to_array
    
    * Add VarType::LoDTensorArray
    
    * Add PyBind of LoDTensorArray
    
    * Add InferVarType
    
    * Add first unittest
    
    * Add ut
    
    * Add unittest
    
    * Add unittest
    
    * Add unittests
    
    * update
    
    * init
    
    * add infershape for lod_tensor_to_array_op
    
    * compelete array_to_lod_tensor_op
    
    * copy data
    
    * clean code
    
    * clean code
    
    * Fix unittest data
    
    * fix bugs
    
    * fix compile error
    
    * Refine TensorToArrayOp
    
    * refactor array_to_lod_tensor
    
    * Unittest
    
    * fix bugs
    
    * Fix unittest
    
    * Fix unittest
    
    * debug
    
    * Debug
    
    * Fix unittest
    
    * Add grad for ops
    
    * Debug
    
    * Fix a bug
    
    * fix a bug
    
    * fix a bug
    b698d19b
lod_tensor_to_array_op.cc 5.7 KB