Skip to content

Commit

Permalink
fix memeory_optimize_pass bug
Browse files Browse the repository at this point in the history
  • Loading branch information
JZZ-NOTE committed Nov 18, 2021
1 parent 34a44d5 commit e1269cc
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

1 comment on commit e1269cc

@paddle-bot-old
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Congratulation! Your pull request passed all required CI. You could ask reviewer(s) to approve and merge. 🎉

Please sign in to comment.