Skip to content

Commit

Permalink
fix memeory_optimize_pass bug (#37324) (#37413)
Browse files Browse the repository at this point in the history
  • Loading branch information
JZZ-NOTE authored Nov 23, 2021
1 parent 6b3ffe9 commit 0fa96e9
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 0fa96e9

Please sign in to comment.