Class ov::op::util::LogicalReductionKeepDims

class LogicalReductionKeepDims : public ov::op::util::LogicalReduction

Subclassed by ov::op::v1::ReduceLogicalAnd, ov::op::v1::ReduceLogicalOr

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

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