forked from mindspore-Ecosystem/mindspore
!2745 fix invert permutation operator in pynative
Merge pull request !2745 from wangqiuliang/fix-invertpermutation-operator
This commit is contained in:
commit
96c7399577
|
@ -971,6 +971,7 @@ class InvertPermutation(PrimitiveWithInfer):
|
|||
@prim_attr_register
|
||||
def __init__(self):
|
||||
"""init InvertPermutation"""
|
||||
self.const_value = True
|
||||
|
||||
def __infer__(self, x):
|
||||
x_shp = x['shape']
|
||||
|
|
Loading…
Reference in New Issue