- ngraph.opset2.reduce_mean(node: Union[_pyngraph.Node, int, float, numpy.ndarray], reduction_axes: Union[_pyngraph.Node, int, float, numpy.ndarray], keep_dims: bool = False, name: Optional[str] = None) _pyngraph.Node ¶
Mean-reduction operation on input tensor, eliminating the specified reduction axes.
node – The tensor we want to mean-reduce.
reduction_axes – The axes to eliminate through mean operation.
keep_dims – If set to True it holds axes that are used for reduction
name – Optional name for output node.
The new node performing mean-reduction operation.