openvino.runtime.opset2.reduce_sum¶
- openvino.runtime.opset2.reduce_sum(node: Union[openvino._pyopenvino.Node, int, float, numpy.ndarray], reduction_axes: Union[openvino._pyopenvino.Node, int, float, numpy.ndarray], keep_dims: bool = False, name: Optional[str] = None) openvino._pyopenvino.Node ¶
Perform element-wise sums of the input tensor, eliminating the specified reduction axes.
- Parameters
node – The node providing data for operation.
reduction_axes – The axes to eliminate through summation.
keep_dims – If set to True it holds axes that are used for reduction
name – The optional new name for output node.
- Returns
The new node performing summation along reduction_axes element-wise.