Skip to content

Commit 1df69f7

Browse files
committed
- Fix to comment
test=develop
1 parent 910cd41 commit 1df69f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

paddle/fluid/framework/ir/embedding_fc_lstm_fuse_pass.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ static int BuildFusion(Graph* graph, const std::string& name_scope,
199199
embedding_lstm_creator(lookup_table, W, lstm, subgraph.at(x), w, Weight,
200200
Bias, Hidden, Cell, fc_out, fc_bias);
201201
// Remove unneeded nodes.
202-
// TODO(jczaja): Proper removing of loopup table
202+
// TODO(jczaja): Proper removing of lookup table
203203
std::unordered_set<const Node*> marked_nodes(
204204
//{lookup_table, mul, lstm, elementwise_add, fc_bias, W});
205205
{mul, lstm, elementwise_add, fc_bias});
@@ -209,7 +209,7 @@ static int BuildFusion(Graph* graph, const std::string& name_scope,
209209
embedding_lstm_creator(lookup_table, W, lstm, subgraph.at(x), w, Weight,
210210
Bias, Hidden, Cell, fc_out, nullptr);
211211
// Remove unneeded nodes.
212-
// TODO(jczaja): Proper removing of loopup table
212+
// TODO(jczaja): Proper removing of lookup table
213213
// std::unordered_set<const Node*> marked_nodes({lookup_table, W, mul,
214214
// lstm});
215215
std::unordered_set<const Node*> marked_nodes({mul, lstm});

0 commit comments

Comments
 (0)