[CPU] Disable fusing DW conv into INT8 conv (#5891)
This commit is contained in:
parent
7fadfa88d7
commit
895e80a0f2
@ -653,7 +653,7 @@ void MKLDNNGraphOptimizer::FuseConvolutionAndDWConvolution(MKLDNNGraph &graph) {
|
||||
bool isSupportedParams = conv->getGroupNum() == 1 &&
|
||||
is1x1Convolution(conv) && // TODO [oneDNN] : fusing is permitted only with 1x1 convolutions
|
||||
everyone_is(1, strides[strides.size() - 1], strides[strides.size() - 2]) &&
|
||||
everyone_is(Precision::FP32, conv->getOriginalInputPrecisionAtPort(0), conv->getOriginalOutputPrecisionAtPort(0)) &&
|
||||
!conv->canBeExecutedInInt8() &&
|
||||
node->getChildEdgeAt(0)->getDims().ndims() == 4;
|
||||
if (!isSupportedParams) return false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user