openvino.runtime.opset3.normalize_l2

openvino.runtime.opset3.normalize_l2(data: Union[openvino._pyopenvino.Node, int, float, numpy.ndarray], axes: Union[openvino._pyopenvino.Node, int, float, numpy.ndarray], eps: float, eps_mode: str, name: Optional[str] = None) openvino._pyopenvino.Node

Construct an NormalizeL2 operation.

Parameters
  • data – Node producing the input tensor

  • axes – Node indicating axes along which L2 reduction is calculated

  • eps – The epsilon added to L2 norm

  • eps_mode – how eps is combined with L2 value (add or max)

Returns

New node which performs the L2 normalization.