Skip to content

Commit

Permalink
Add a deprecate message (apache#13042)
Browse files Browse the repository at this point in the history
* Fix the operator API documentation

* update message

* deprecate old command
  • Loading branch information
apeforest authored and azai91 committed Dec 1, 2018
1 parent 5ca0308 commit e0cc51f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/operator/nn/ctc_loss.cc
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ NNVM_REGISTER_OP(CTCLoss)
.add_alias("_contrib_CTCLoss")
.add_alias("_contrib_ctc_loss")
.describe(R"code(Connectionist Temporal Classification Loss.
.. note:: The existing alias ``contrib_CTCLoss`` is deprecated.
The shapes of the inputs and outputs:
- **data**: `(sequence_length, batch_size, alphabet_size)`
Expand Down

0 comments on commit e0cc51f

Please sign in to comment.