From 71d66218395e2a6e5d8ee082929ab3d3d964b002 Mon Sep 17 00:00:00 2001 From: Lin Yuan Date: Tue, 30 Oct 2018 15:09:50 -0700 Subject: [PATCH] Add a deprecate message (#13042) * Fix the operator API documentation * update message * deprecate old command --- src/operator/nn/ctc_loss.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/operator/nn/ctc_loss.cc b/src/operator/nn/ctc_loss.cc index c381677b3ce0..d9c7606f2e28 100644 --- a/src/operator/nn/ctc_loss.cc +++ b/src/operator/nn/ctc_loss.cc @@ -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)`