未验证 提交 3bba4af7 编写于 作者: F feng_shuai 提交者: GitHub

fix:set output name (#51004)

上级 0fd6e2a1
......@@ -674,6 +674,8 @@ class MultiheadMatMulOpConverter : public OpConverter {
// return
layer = reshape_after_mha_layer;
RreplenishLayerAndOutput(
layer, "multihead_matmul", {output_name}, test_mode);
} else {
PADDLE_ENFORCE_EQ(
input->getDimensions().nbDims,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册