!13478 Some error format of API comments should be fixed.

From: @zhang_yi2020
Reviewed-by: @gemini524,@wuxuejian,@liangchenghui
Signed-off-by: @wuxuejian,@liangchenghui
This commit is contained in:
mindspore-ci-bot 2021-03-17 17:37:22 +08:00 committed by Gitee
commit ea0462a87c
5 changed files with 20 additions and 22 deletions

View File

@ -1752,9 +1752,7 @@ class MappableDataset(SourceDataset):
If after rounding:
- Any size equals 0, an error will occur.
- The sum of split sizes < K, the difference will be added to the first split.
- The sum of split sizes > K, the difference will be removed from the first large
enough split such that it will have at least 1 row after removing the difference.

View File

@ -915,7 +915,7 @@ class InstanceNorm2d(Cell):
Supported Platforms:
``GPU``
Raise:
Raises:
TypeError: If `num_features` is not an int.
TypeError: If `eps` is not a float.
TypeError: If `momentum` is not a float.

View File

@ -818,11 +818,11 @@ def tensordot(a, b, axes=2):
`a` and the first `N` dimensions of `b` are summed over.
Three common use cases are:
``axes = 0`` : tensor product
- ``axes = 0`` : tensor product
``axes = 1`` : tensor dot product
- ``axes = 1`` : tensor dot product
``axes = 2`` : (default) tensor double contraction
- ``axes = 2`` : (default) tensor double contraction
When axes is integer_like, the sequence for evaluation will be: first the `-Nth`
axis in `a` and 0th axis in `b`, and the -1th axis in `a` and `Nth` axis in `b` last.

View File

@ -521,7 +521,7 @@ class ReLUV2(PrimitiveWithInfer):
Raises:
TypeError: If `input_x`, `output` or `mask` is not a Tensor.
TypeError: If dtype of `output` is not same as `input_x`.
TypeError: If dtype of `output` is not same as `input_x` .
TypeError: If dtype of `mask` is not unit8.
Supported Platforms: