diff --git a/paddle/fluid/framework/ir/embedding_fc_lstm_fuse_pass.cc b/paddle/fluid/framework/ir/embedding_fc_lstm_fuse_pass.cc index af3f23cbf91166447b48a9323f4d124a31200811..b155da375fefe1095140ce33614ce7dd43563889 100644 --- a/paddle/fluid/framework/ir/embedding_fc_lstm_fuse_pass.cc +++ b/paddle/fluid/framework/ir/embedding_fc_lstm_fuse_pass.cc @@ -199,7 +199,7 @@ static int BuildFusion(Graph* graph, const std::string& name_scope, embedding_lstm_creator(lookup_table, W, lstm, subgraph.at(x), w, Weight, Bias, Hidden, Cell, fc_out, fc_bias); // Remove unneeded nodes. - // TODO(jczaja): Proper removing of loopup table + // TODO(jczaja): Proper removing of lookup table std::unordered_set marked_nodes( //{lookup_table, mul, lstm, elementwise_add, fc_bias, W}); {mul, lstm, elementwise_add, fc_bias}); @@ -209,7 +209,7 @@ static int BuildFusion(Graph* graph, const std::string& name_scope, embedding_lstm_creator(lookup_table, W, lstm, subgraph.at(x), w, Weight, Bias, Hidden, Cell, fc_out, nullptr); // Remove unneeded nodes. - // TODO(jczaja): Proper removing of loopup table + // TODO(jczaja): Proper removing of lookup table // std::unordered_set marked_nodes({lookup_table, W, mul, // lstm}); std::unordered_set marked_nodes({mul, lstm});