code: def norm(x, type=2):
      if type == 1:
          return np.sum(np.abs(x))
      elif type == 2:
          return np.sqrt(x**2)
      else:  # type==np.inf:
          return max(np.abs(x))
  
label_desc: Use image node_id 1 for calling a global function with example usage: norm(x, type) and returns: np, np, max