提交 0fd5d259 编写于 作者: J jiangjinsheng

fixed comment for InvertPermutation

上级 e2134b31
......@@ -905,9 +905,11 @@ class InvertPermutation(PrimitiveWithInfer):
values can not be negative.
Inputs:
- **input_x** (tuple[int]) - The input tuple is constructed by multiple
- **input_x** (Union(tuple[int], Tensor[int])) - The input tuple is constructed by multiple
integers, i.e., :math:`(y_1, y_2, ..., y_S)` representing the indices.
The values must include 0. There can be no duplicate values or negative values.
If the input is Tensor, it must be 1-d and the dtype is int.
Outputs:
tuple[int]. the lenth is same as input.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册