diff --git a/paddle/fluid/framework/ir/conv_bn_fuse_pass.cc b/paddle/fluid/framework/ir/conv_bn_fuse_pass.cc index 72ac7c3b0e8ab8ff192352ebbcd80cde80f35825..6f8591fd82543a28493b7273cb9845a2c50eb17d 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());