Class ov::op::util::ArithmeticReductionKeepDims#

class ArithmeticReductionKeepDims : public ov::op::util::ArithmeticReduction#

Subclassed by ov::op::v1::ReduceMax, ov::op::v1::ReduceMean, ov::op::v1::ReduceMin, ov::op::v1::ReduceProd, ov::op::v1::ReduceSum, ov::op::v4::ReduceL1, ov::op::v4::ReduceL2

Public Functions

virtual void validate_and_infer_types() override#

Verifies that attributes and inputs are consistent and computes output shapes and element types. Must be implemented by concrete child classes so that it can be run any number of times.

Throws if the node is invalid.

inline virtual bool get_keep_dims() const override#
Returns:

If set to 1 it holds axes that are used for reduction. For each such axis, output dimension is equal to 1.