Class ov::op::util::ReductionBase

class ReductionBase : public ov::op::Op

Subclassed by ov::op::util::ArithmeticReduction, ov::op::util::LogicalReduction

Public Functions

bool reduction_axes_constant() const
Returns

true if reduction axes are constant else false.

const AxisSet get_reduction_axes() const
Throws

CheckFailure – if the reduction axes are not constant. (Use reduction_axes_constant to check.)

Returns

The axis positions (0-based) to be eliminated through reduction.

void set_reduction_axes(const AxisSet &reduction_axes)

Change the reduction axes.