提交 e202f33a 编写于 作者: J Jacek Czaja

- Yet another clarification to comment

test=develop
上级 1df69f7c
...@@ -119,7 +119,7 @@ static int BuildFusion(Graph* graph, const std::string& name_scope, ...@@ -119,7 +119,7 @@ static int BuildFusion(Graph* graph, const std::string& name_scope,
CblasRowMajor, CblasNoTrans, CblasNoTrans, m, n, 1, alpha, &ones[0], 1, CblasRowMajor, CblasNoTrans, CblasNoTrans, m, n, 1, alpha, &ones[0], 1,
&combined_biases[0], n, 0.0f, embeddings_data, n); &combined_biases[0], n, 0.0f, embeddings_data, n);
// Wx*embeddings // Wx*embeddings + biases
paddle::operators::math::CBlas<float>::GEMM( paddle::operators::math::CBlas<float>::GEMM(
CblasRowMajor, CblasNoTrans, CblasNoTrans, m, n, k, alpha, CblasRowMajor, CblasNoTrans, CblasNoTrans, m, n, k, alpha,
embedding_data, k, weightx_data, n, beta, embeddings_data, n); embedding_data, k, weightx_data, n, beta, embeddings_data, n);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册