提交 96c73995 编写于 作者: M mindspore-ci-bot 提交者: Gitee

!2745 fix invert permutation operator in pynative

Merge pull request !2745 from wangqiuliang/fix-invertpermutation-operator
......@@ -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']
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册