提交 cec1f598 编写于 作者: F fengjiayi 提交者: GitHub

Merge pull request #4664 from Canpio/fix_backward_bug

Fix OpDesc bug
...@@ -25,6 +25,7 @@ OpDescBind::OpDescBind(const std::string &type, const VariableNameMap &inputs, ...@@ -25,6 +25,7 @@ OpDescBind::OpDescBind(const std::string &type, const VariableNameMap &inputs,
inputs_ = inputs; inputs_ = inputs;
outputs_ = outputs; outputs_ = outputs;
attrs_ = attrs; attrs_ = attrs;
need_update_ = true;
} }
OpDesc *OpDescBind::Proto() { OpDesc *OpDescBind::Proto() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册