- ngraph.normalize_l2(data: Union[_pyngraph.Node, int, float, numpy.ndarray], axes: Union[_pyngraph.Node, int, float, numpy.ndarray], eps: float, eps_mode: str, name: Optional[str] = None) _pyngraph.Node ¶
Construct an NormalizeL2 operation.
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)
New node which performs the L2 normalization.