Browse Source

!5796 fix the indentation bug in CTCLoss

Merge pull request !5796 from Simson/push-to-opensource
tags/v1.0.0
mindspore-ci-bot Gitee 5 years ago
parent
commit
6a946bddab
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mindspore/ops/operations/nn_ops.py

+ 1
- 1
mindspore/ops/operations/nn_ops.py View File

@@ -5308,7 +5308,7 @@ class CTCLoss(PrimitiveWithInfer):


Outputs: Outputs:
- **loss** (Tensor) - A tensor containing log-probabilities, the shape is :math:`(batch_size)`. The tensor has - **loss** (Tensor) - A tensor containing log-probabilities, the shape is :math:`(batch_size)`. The tensor has
the same type with `inputs`.
the same type with `inputs`.
- **gradient** (Tensor) - The gradient of `loss`, has the same type and shape with `inputs`. - **gradient** (Tensor) - The gradient of `loss`, has the same type and shape with `inputs`.


Examples: Examples:


Loading…
Cancel
Save