Class ov::op::v1::ReduceProd

class ReduceProd : public ov::op::util::ArithmeticReductionKeepDims

Product reduction operation.

Reduces the tensor, eliminating the specified reduction axes by taking the product.

Public Functions

ReduceProd() = default

Constructs a product reduction operation.

ReduceProd(const Output<Node> &arg, const Output<Node> &reduction_axes, bool keep_dims = false)

Constructs a product reduction operation.

Parameters
  • arg – The tensor to be reduced.

  • reduction_axes – The axis positions (0-based) to be eliminated.

  • keep_dims – If set to true it holds axes that are used for reduction.

virtual bool has_evaluate() const override

Allows to get information about availability of evaluate method for the current operation.