提交 752bab27 编写于 作者: F fengjiayi

Fix bugs

上级 f8211328
...@@ -103,6 +103,7 @@ void OpDescBind::SetAttr(const std::string &name, const Attribute &v) { ...@@ -103,6 +103,7 @@ void OpDescBind::SetAttr(const std::string &name, const Attribute &v) {
void OpDescBind::SetBlockAttr(const std::string &name, BlockDescBind &block) { void OpDescBind::SetBlockAttr(const std::string &name, BlockDescBind &block) {
BlockDesc *desc = block.RawPtr(); BlockDesc *desc = block.RawPtr();
this->attrs_[name] = desc; this->attrs_[name] = desc;
need_update_ = true;
} }
void OpDescBind::SetAttrMap( void OpDescBind::SetAttrMap(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册