Skip to content

Commit

Permalink
fix memeory_optimize_pass bug (PaddlePaddle#37324)
Browse files Browse the repository at this point in the history
  • Loading branch information
JZZ-NOTE committed Nov 22, 2021
1 parent 9ffb43b commit 670761a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 670761a

Please sign in to comment.