code: def l2_normalize(data, axis=-1, eps=1e-6):
      """Normalize the data by L2 normalization.
  
      Parameters
      ----------
      data
          The input data
      axis
          The axis that we should perform l2 normalization
      eps
          The epsilon value
  
      Returns
      -------
      ret
          The returned output
      """
      ret = data / (
          np.linalg.norm(data, axis=axis, keepdims=True) + eps
      )
      return ret
  
file_path: gluon-nlp/src/gluonnlp/op.py
imports: import mxnet
  from mxnet import np, npx
  import math
  from mxnet import use_np
label_desc: Use image node_id 7 for calling a global function with example usage: l2_normalize(data, axis, eps) and returns: ret