diff --git a/src/plugins/intel_cpu/src/nodes/deconv.cpp b/src/plugins/intel_cpu/src/nodes/deconv.cpp index 3b4480b586ecee..cd745ac52d1a8d 100644 --- a/src/plugins/intel_cpu/src/nodes/deconv.cpp +++ b/src/plugins/intel_cpu/src/nodes/deconv.cpp @@ -121,20 +121,11 @@ bool DeconvKey::operator==(const DeconvKey &rhs) const { return retVal; } -// class FCShapeInfer : public ShapeInferEmptyPads { -// public: -// FCShapeInfer(size_t outPut_rank) : out_rank(outPut_rank) {} -// Result infer(const std::vector>& input_shapes, -// const std::unordered_map& data_dependency) override; - -// port_mask_t get_port_mask() const override { -// return EMPTY_PORT_MASK; -// } - -// private: -// size_t out_rank = 0; -// }; - +/** + * Deconvolution shape inference factory. It defines the input mask depending on the existence of the `output_shape` + * input. Since in case it exists, plugin should pass the input data to the shape inference function. + * + */ class DeconvolutionShapeInferFactory : public ShapeInferFactory { public: DeconvolutionShapeInferFactory(std::shared_ptr op) : m_op(std::move(op)) {}