openvino.runtime.opset4.reduce_l2

openvino.runtime.opset4.reduce_l2(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

L2-reduction operation on input tensor, eliminating the specified reduction axes.

Parameters
  • 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.

Returns

The new node performing mean-reduction operation.