code: def _norm(
      tensor,
      ord="euclidean",
      axis=None,
      keepdims=None,  # pylint: disable=redefined-builtin
      name=None,
      keep_dims=None,
  ):
      """Numpy norm wrapper."""
      del name
      del keep_dims
      if axis is None:
          tensor = np.reshape(tensor, [-1])
          axis = -1
      if isinstance(axis, (tuple, list)):
          # JAX expects tuples or ints.
          axis = tuple(axis)
      return np.linalg.norm(
          tensor,
          ord=2 if ord == "euclidean" else ord,
          axis=axis,
          keepdims=bool(keepdims),
      )
  
imports: import collections
  import functools
  import numpy
  from tensorflow_probability.python.internal.backend.numpy import _utils
  from tensorflow_probability.python.internal.backend.numpy import ops
label_desc: Use image node_id 16 for calling a global function with example usage: _norm(tensor, ord, axis, keepdims, name, keep_dims) and returns: np