Skip to content

Commit f223c78

Browse files
authored
Use different name_scope for different conv type, test=develop (#29355) (#29410)
1 parent 7838058 commit f223c78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

paddle/fluid/framework/ir/conv_bn_fuse_pass.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ void ConvBNFusePass::ApplyImpl(ir::Graph* graph) const {
171171

172172
// Create eltwise_y (conv bias) variable
173173
VarDesc eltwise_y_in_desc(
174-
patterns::PDNodeName(name_scope_, "eltwise_y_in"));
174+
patterns::PDNodeName("fuse_conv_bn", conv_type() + "_eltwise_y_in"));
175175
eltwise_y_in_desc.SetShape(framework::vectorize(bn_bias_tensor->dims()));
176176
eltwise_y_in_desc.SetDataType(bn_bias_tensor->type());
177177
eltwise_y_in_desc.SetLoDLevel(bn_bias->Var()->GetLoDLevel());

0 commit comments

Comments
 (0)