未验证 提交 064a5434 编写于 作者: Y yuehuayingxueluo 提交者: GitHub

fix bug in fused_gemm_epilogue_op.cc (#50980)

上级 e4fbb286
...@@ -390,7 +390,7 @@ class FusedGemmEpilogueOpGradMaker : public framework::SingleGradOpMaker<T> { ...@@ -390,7 +390,7 @@ class FusedGemmEpilogueOpGradMaker : public framework::SingleGradOpMaker<T> {
op->SetInput("X", this->Input("X")); op->SetInput("X", this->Input("X"));
op->SetInput("Y", this->Input("Y")); op->SetInput("Y", this->Input("Y"));
if (act_type != "none") { if (act_type != "none") {
op->SetInput("ReserveSpace", this->Input("ReserveSpace")); op->SetInput("ReserveSpace", this->Output("ReserveSpace"));
} }
op->SetInput("DOut", this->OutputGrad("Out")); op->SetInput("DOut", this->OutputGrad("Out"));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册