• Y
    Check and correct the output's lod_level in DynamicRNN related operators (#19144) · 6fcfd32e
    Yiqun Liu 提交于
    * Refine the InferShape of ReadFrom and WriteTo op, and add comment to explain why not call ShareLoD for runtime.
    test=develop
    
    * Add comment for ReorderLoDTensorByRank op.
    
    * Add comment for lod_tensor_to_tensor_array op to explain why only call DecreaseLoDLevel for compile time.
    test=develop
    
    * ShrinkRNNMemory op should call ShareLoD for compile time.
    test=develop
    
    * Add the implementation of IncreaseLoDLevel and add the compile-time check of lod_level in InferShape of sequence_pool.
    test=develop
    
    * Refine the unittest of DynamicRNN.
    test=develop
    
    * Change PADDLE_ENFORCE to PADDLE_ENFORCE_NE.
    test=develop
    6fcfd32e
test_dyn_rnn.py 12.0 KB