We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 759091a commit 108a26eCopy full SHA for 108a26e
src/plugins/intel_gpu/src/graph/graph_optimizer/prepare_primitive_fusing.cpp
@@ -743,8 +743,9 @@ void prepare_primitive_fusing::fuse_simple_primitives(program &p) {
743
return;
744
}
745
746
- if (activation_func == cldnn::activation_func::relu_negative_slope &&
747
- input.get_output_layout().batch() > 1 && input.is_type<convolution>()) {
+ auto input_layout = input.get_output_layout();
+ if (input.is_type<convolution>() && activation_func == cldnn::activation_func::relu_negative_slope &&
748
+ input_layout.is_static() && input_layout.batch() > 1) {
749
750
751
0 commit comments