Browse Source

complement the docs of CTCLoss operator.

tags/v1.2.0-rc1
wangshuide2020 5 years ago
parent
commit
344280adb8
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      mindspore/ops/operations/nn_ops.py

+ 3
- 0
mindspore/ops/operations/nn_ops.py View File

@@ -7171,6 +7171,9 @@ class CTCLoss(PrimitiveWithInfer):
"""
Calculates the CTC (Connectionist Temporal Classification) loss and the gradient.

The CTC algorithm is proposed in `Connectionist Temporal Classification: Labeling Unsegmented Sequence Data with
Recurrent Neural Networks <http://www.cs.toronto.edu/~graves/icml_2006.pdf>`_.

Args:
preprocess_collapse_repeated (bool): If true, repeated labels will be collapsed prior to the CTC calculation.
Default: False.


Loading…
Cancel
Save