提交 9cfcdce8 编写于 作者: K kingfo

fix invertPermutation operator in pynative

上级 bfa4f8f0
...@@ -971,6 +971,7 @@ class InvertPermutation(PrimitiveWithInfer): ...@@ -971,6 +971,7 @@ class InvertPermutation(PrimitiveWithInfer):
@prim_attr_register @prim_attr_register
def __init__(self): def __init__(self):
"""init InvertPermutation""" """init InvertPermutation"""
self.const_value = True
def __infer__(self, x): def __infer__(self, x):
x_shp = x['shape'] x_shp = x['shape']
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册