diff --git a/src/plugins/intel_cpu/src/nodes/identity.cpp b/src/plugins/intel_cpu/src/nodes/identity.cpp index bb44cc61f4e60a..70d2b63463e284 100644 --- a/src/plugins/intel_cpu/src/nodes/identity.cpp +++ b/src/plugins/intel_cpu/src/nodes/identity.cpp @@ -26,7 +26,7 @@ bool Identity::isSupportedOperation(const std::shared_ptr& op, s } Identity::Identity(const std::shared_ptr& op, const GraphContext::CPtr& context) - : Node(op, context, NgraphShapeInferFactory(op, PortMask(0, 1, 2))) { + : Node(op, context, NgraphShapeInferFactory(op)) { std::string errorMessage; if (!isSupportedOperation(op, errorMessage)) { THROW_CPU_NODE_ERR(errorMessage);