提交 9a3848a2 编写于 作者: M minqiyang

Fix attrs

test=develop
上级 73cbdc29
......@@ -942,7 +942,7 @@ class Operator(object):
self.iop = core.OpBase(type)
self.previous_ops = []
self.attrs = attrs
self.attrs = attrs if attrs else {}
else:
self.block = block
self.desc = desc
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册