Fix infer shape of warpctc op. (#20653)

test=develop
revert-20712-fix_depthwise_conv
whs 6 years ago committed by GitHub
parent 4922eb6da5
commit a3e641e93c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -52,7 +52,7 @@ class WarpCTCOp : public framework::OperatorWithKernel {
sequence_width);
// TODO(liuyiqun): it is tricky to set the wrong dimension here.
ctx->SetOutputDim("Loss", {logits_dims[0], 1});
ctx->SetOutputDim("Loss", {-1, 1});
}
protected:

Loading…
Cancel
Save