|
|
|
@ -89,4 +89,5 @@ namespace ops = paddle::operators;
|
|
|
|
|
REGISTER_OPERATOR(ctc_align, ops::CTCAlignOp, ops::CTCAlignOpMaker,
|
|
|
|
|
paddle::framework::EmptyGradOpMaker);
|
|
|
|
|
REGISTER_OP_CPU_KERNEL(
|
|
|
|
|
ctc_align, ops::CTCAlignKernel<paddle::platform::CPUDeviceContext, int>);
|
|
|
|
|
ctc_align, ops::CTCAlignKernel<paddle::platform::CPUDeviceContext, int>,
|
|
|
|
|
ops::CTCAlignKernel<paddle::platform::CPUDeviceContext, int64_t>);
|
|
|
|
|