[CPU] Disabled inplace for const input in Scatter node (#4148)
This commit is contained in:
1 parent
1bd7b37419
commit
bf05b4d4f6
1 file changed
+2
-1
@@ -167,7 +167,8 @@ void MKLDNNScatterUpdateNode::initSupportedPrimitiveDescriptors() {
|
||||
auto dataType = MKLDNNExtensionUtils::IEPrecisionToDataType(dataPrec);
|
||||
dataSize = MKLDNNExtensionUtils::sizeOfDataType(dataType);
|
||||
|
||||
bool canBeInplace = getParentEdgeAt(DATA_ID)->getParent()->getChildEdges().size() == 1;
|
||||
bool canBeInplace = getParentEdgeAt(DATA_ID)->getParent()->getChildEdges().size() == 1 &&
|
||||
!getParentEdgeAt(DATA_ID)->getParent()->isConstant();
|
||||
|
||||
InferenceEngine::LayerConfig config;
|
||||
config.dynBatchSupport = false;
|
||||
|
||||
Reference in new issue
Block a user