!49033 modify reverseV2 api doc

Merge pull request !49033 from 周超/master5
This commit is contained in:
i-robot 2023-02-17 11:53:28 +00:00 committed by Gitee
commit 12771a8f68
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 3 additions and 1 deletions

View File

@ -19,4 +19,5 @@ mindspore.ops.ReverseV2
异常:
- **TypeError** - `axis` 既不是list也不是tuple。
- **TypeError** - `axis` 的元素不是int。
- **TypeError** - `axis` 的元素不是int。
- **ValueError** - `axis` 存在多个元素指向同一个轴。

View File

@ -2925,6 +2925,7 @@ class ReverseV2(Primitive):
Raises:
TypeError: If `axis` is neither list nor tuple.
TypeError: If element of `axis` is not an int.
ValueError: There are multiple identical axes in `axis`.
Supported Platforms:
``Ascend`` ``GPU`` ``CPU``