Port WarpCTC Operator (#5107)
* Add Seq2BatchFunctor, which will be used in WarpCTCOp. * Implement WrapCTCFunctor and WrapCTCKernel. * Add unittest of warpctc_op. * Modify the check_output inferface in python unittest framework to allow check a subset of outputs. * Use absolute offset lod in warpctc_op and related functors. * Refine the comments of warpctc_op. * The new python unittest supports checking a subset of the outputs, so revoke the previous change. * Rename the transform from LoDTensor to Tensor with shape [max_sequence_length, num_sequences, sequence_width] to PaddingSequenceFunctor. * Update to the newest codes. * Rename the PaddingSequenceFunctor to PaddingLoDTensorFunctor and remove the computation of dimensions out of the functos.
Showing
paddle/operators/warpctc_op.cc
0 → 100644
paddle/operators/warpctc_op.cu.cc
0 → 100644
paddle/operators/warpctc_op.h
0 → 100644
paddle/platform/dynload/warpctc.h
0 → 100644
想要评论请 注册 或 登录