code: def norm2(x, axis=None):
      if axis:
          return np.sqrt(np.sum(x**2, axis=axis))
      return np.sqrt(np.sum(x**2))
  
file_path: PaddleOCR/ppocr/utils/e2e_utils/visual.py
imports: import numpy
  import cv2
  import time
label_desc: Use image node_id 7 for calling a global function with example usage: norm2(x, axis) and returns: np, np