mindspore.ops.RandpermV2
- class mindspore.ops.RandpermV2(seed=0, offset=0, dtype=mstype.int64)[source]
prim = ops.RandpermV2(seed, offset, dtype) out = prim(n)
is equivalent to
ops.randperm(n, seed, offset, dtype)
Refer to
mindspore.ops.randperm()
for more details.