!49033 modify reverseV2 api doc
Merge pull request !49033 from 周超/master5
This commit is contained in:
commit
12771a8f68
|
@ -20,3 +20,4 @@ mindspore.ops.ReverseV2
|
||||||
异常:
|
异常:
|
||||||
- **TypeError** - `axis` 既不是list也不是tuple。
|
- **TypeError** - `axis` 既不是list也不是tuple。
|
||||||
- **TypeError** - `axis` 的元素不是int。
|
- **TypeError** - `axis` 的元素不是int。
|
||||||
|
- **ValueError** - `axis` 存在多个元素指向同一个轴。
|
|
@ -2925,6 +2925,7 @@ class ReverseV2(Primitive):
|
||||||
Raises:
|
Raises:
|
||||||
TypeError: If `axis` is neither list nor tuple.
|
TypeError: If `axis` is neither list nor tuple.
|
||||||
TypeError: If element of `axis` is not an int.
|
TypeError: If element of `axis` is not an int.
|
||||||
|
ValueError: There are multiple identical axes in `axis`.
|
||||||
|
|
||||||
Supported Platforms:
|
Supported Platforms:
|
||||||
``Ascend`` ``GPU`` ``CPU``
|
``Ascend`` ``GPU`` ``CPU``
|
||||||
|
|
Loading…
Reference in New Issue