未验证 提交 075c22f6 编写于 作者: J JingZhuangzhuang 提交者: GitHub

fix memeory_optimize_pass bug (#37324)

上级 1f0512be
......@@ -105,7 +105,8 @@ void MemoryOptimizePass::CollectVarMemorySize(
"sequence_pool",
"recurrent",
"lod_reset",
"fetch"};
"fetch",
"share_data"};
for (auto* tmp : node->inputs) {
CHECK(tmp->IsOp());
std::string op_type = tmp->Op()->Type();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册