openvino.runtime.opset2.reduce_prod#
- openvino.runtime.opset2.reduce_prod(node: Node | int | float | ndarray, reduction_axes: Node | int | float | ndarray, keep_dims: bool = False, name: str | None = None) Node #
Product-reduction operation on input tensor, eliminating the specified reduction axes.
- Parameters:
node – The tensor we want to product-reduce.
reduction_axes – The axes to eliminate through product operation.
keep_dims – If set to True it holds axes that are used for reduction
name – Optional name for output node.
- Returns:
The new node performing product-reduction operation.