forked from mindspore-Ecosystem/mindspore
fix ctcloss document error
This commit is contained in:
parent
a3770cf22d
commit
6ec60e25bf
|
@ -29,5 +29,5 @@ mindspore.nn.CTCLoss
|
|||
- **ValueError** - `reduction` 不为"none","mean"或"sum"。
|
||||
- **ValueError** - `targets` , `input_lengths` 或 `target_lengths` 的数据类型是不同的。
|
||||
- **ValueError** - `blank` 值不介于0到C之间。C是 `log_probs` 的分类数。
|
||||
- **ValueError** - `input_lengths` 的值大于C。C是 `log_probs` 的分类数。
|
||||
- **ValueError** - `input_lengths` 的值大于T。T是 `log_probs` 的长度。
|
||||
- **ValueError** - `target_lengths[i]` 的值不介于0到 `input_length[i]` 之间。
|
||||
|
|
|
@ -2430,7 +2430,7 @@ class CTCLoss(LossBase):
|
|||
ValueError: If `reduction` is not "none", "mean" or "sum".
|
||||
ValueError: If the types of `targets`, `input_lengths` or `target_lengths` are different.
|
||||
ValueError: If the value of `blank` is not in range [0, C). C is number of classes of `log_probs` .
|
||||
ValueError: If any value of `input_lengths` is larger than C. C is number of classes of `log_probs` .
|
||||
ValueError: If any value of `input_lengths` is larger than T. T is length of `log_probs` .
|
||||
ValueError: If any target_lengths[i] is not in range [0, input_length[i]].
|
||||
|
||||
Supported Platforms:
|
||||
|
|
Loading…
Reference in New Issue