From a623ce044fecf0187b0450481505e937e0d8d372 Mon Sep 17 00:00:00 2001 From: cc <52520497+juncaipeng@users.noreply.github.com> Date: Mon, 7 Dec 2020 10:18:34 +0800 Subject: [PATCH] Use different name_scope for different conv type, test=develop (#29355) --- paddle/fluid/framework/ir/conv_bn_fuse_pass.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/fluid/framework/ir/conv_bn_fuse_pass.cc b/paddle/fluid/framework/ir/conv_bn_fuse_pass.cc index 72ac7c3b0e8..6f8591fd825 100644 --- a/paddle/fluid/framework/ir/conv_bn_fuse_pass.cc +++ b/paddle/fluid/framework/ir/conv_bn_fuse_pass.cc @@ -171,7 +171,7 @@ void ConvBNFusePass::ApplyImpl(ir::Graph* graph) const { // Create eltwise_y (conv bias) variable VarDesc eltwise_y_in_desc( - patterns::PDNodeName(name_scope_, "eltwise_y_in")); + patterns::PDNodeName("fuse_conv_bn", conv_type() + "_eltwise_y_in")); eltwise_y_in_desc.SetShape(framework::vectorize(bn_bias_tensor->dims())); eltwise_y_in_desc.SetDataType(bn_bias_tensor->type()); eltwise_y_in_desc.SetLoDLevel(bn_bias->Var()->GetLoDLevel()); -- GitLab