From acbda3e42806cf67cf199de6d49e3d8116158ea3 Mon Sep 17 00:00:00 2001 From: jakpiase Date: Mon, 17 Oct 2022 10:10:20 +0200 Subject: [PATCH] fix for conv_bias_mkldnn_pass (#47037) --- paddle/fluid/framework/ir/graph_pattern_detector.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/paddle/fluid/framework/ir/graph_pattern_detector.cc b/paddle/fluid/framework/ir/graph_pattern_detector.cc index 16c21f4b4e..c68d8b8e0e 100644 --- a/paddle/fluid/framework/ir/graph_pattern_detector.cc +++ b/paddle/fluid/framework/ir/graph_pattern_detector.cc @@ -1707,7 +1707,6 @@ PDNode *patterns::ConvBias::operator()( // Filter auto *conv_weight_var = pattern->NewNode(conv_weight_repr()) ->AsInput() - ->assert_is_persistable_var() ->assert_is_op_input(conv_type, "Filter"); // intermediate variable, will be removed in the IR after fuse. auto *conv_out_var = pattern->NewNode(conv_out_repr()) -- GitLab