!2745 fix invert permutation operator in pynative

Merge pull request !2745 from wangqiuliang/fix-invertpermutation-operator
pull/2745/MERGE
mindspore-ci-bot 5 years ago committed by Gitee
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…
Cancel
Save