From 344280adb86132830b688cf1e21931b3dcd2096c Mon Sep 17 00:00:00 2001 From: wangshuide2020 Date: Tue, 16 Mar 2021 14:24:15 +0800 Subject: [PATCH] complement the docs of CTCLoss operator. --- mindspore/ops/operations/nn_ops.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mindspore/ops/operations/nn_ops.py b/mindspore/ops/operations/nn_ops.py index d1932eba0f..ee474846d2 100644 --- a/mindspore/ops/operations/nn_ops.py +++ b/mindspore/ops/operations/nn_ops.py @@ -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 `_. + Args: preprocess_collapse_repeated (bool): If true, repeated labels will be collapsed prior to the CTC calculation. Default: False.