Skip to content

Commit

Permalink
Merge pull request #1 from vlavla/mxnet1.5.0-fix
Browse files Browse the repository at this point in the history
Mxnet1.5.0 fix
  • Loading branch information
vlavla authored Nov 1, 2019
2 parents 53cef43 + b7c8646 commit 869e473
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rnnt_loss-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ class RNNTLossProp : public OperatorProperty {
CHECK_EQ(llshape[0], lshape[0])
<< "The batch size for the labels and label lengths must be the same.";

TShape oshape(1);
TShape oshape(1, 1);
oshape[0] = dshape[0]; // batch size
out_shape->clear();
out_shape->push_back(oshape);
Expand Down

0 comments on commit 869e473

Please sign in to comment.