提交 8e584533 编写于 作者: F fengjiayi

Merge branch 'update_reader' of https://github.com/JiayiFeng/Paddle into update_reader

......@@ -640,8 +640,7 @@ class Operator(object):
"""
return self.desc.block_attr(name)
@property
def attrs(self):
def all_attrs(self):
"""
Get the attribute dict
Returns(dict): The Operator's attribute dict
......
......@@ -279,7 +279,7 @@ def _copy_reader_create_op_(block, op):
type=op.type,
inputs=new_input_map,
outputs=new_output_map,
attrs=op.attrs)
attrs=op.all_attrs())
return new_op
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册