Skip to content

Commit e202f33

Browse files
committed
- Yet another clarification to comment
test=develop
1 parent 1df69f7 commit e202f33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

paddle/fluid/framework/ir/embedding_fc_lstm_fuse_pass.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ static int BuildFusion(Graph* graph, const std::string& name_scope,
119119
CblasRowMajor, CblasNoTrans, CblasNoTrans, m, n, 1, alpha, &ones[0], 1,
120120
&combined_biases[0], n, 0.0f, embeddings_data, n);
121121

122-
// Wx*embeddings
122+
// Wx*embeddings + biases
123123
paddle::operators::math::CBlas<float>::GEMM(
124124
CblasRowMajor, CblasNoTrans, CblasNoTrans, m, n, k, alpha,
125125
embedding_data, k, weightx_data, n, beta, embeddings_data, n);

0 commit comments

Comments
 (0)