code: def norm(
      tensor, ord="euclidean", axis=None, keepdims=None, name=None
  ):
      keepdims = keepdims or False
  
      # Check if it's a matrix norm
      if (type(axis) in [tuple, list]) and (len(axis) == 2):
          return ivy.matrix_norm(
              tensor, ord=ord, axis=axis, keepdims=keepdims
          )
      # Else resort to a vector norm
      return ivy.vector_norm(
          tensor, ord=ord, axis=axis, keepdims=keepdims
      )
  
imports: import ivy
  from ivy.functional.frontends.tensorflow import check_tensorflow_casting
  from ivy.func_wrapper import with_unsupported_dtypes, with_supported_dtypes
  from ivy.functional.frontends.tensorflow.func_wrapper import to_ivy_arrays_and_back, handle_tf_dtype
  import ivy.functional.frontends.tensorflow
label_desc: Use image node_id 23 for calling a global function with example usage: norm(tensor, ord, axis, keepdims, name) and returns: ivy, ivy