提交 390f47c2 编写于 作者: S sneaxiy

inplace addto pass

上级 60b86b2f
......@@ -180,7 +180,8 @@ void InplaceAddToOpPass::Run(Graph *graph) const {
// NOTE(zhiqiu): currently, only conv2d_grad supports addto strategy
if (right_generated_op->Name() != "conv2d_grad" &&
right_generated_op->Name() != "resnet_unit_grad") {
right_generated_op->Name() != "resnet_unit_grad" &&
right_generated_op->Name() != "custom_fused_dense_grad") {
continue;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册