code: def matrix_norm(
      x: JaxArray,
      /,
      *,
      ord: Union[int, float, Literal[inf, -inf, "fro", "nuc"]] = "fro",
      axis: Tuple[int, int] = (-2, -1),
      keepdims: bool = False,
      out: Optional[JaxArray] = None,
  ) -> JaxArray:
      if hasattr(axis, "__iter__"):
          if not isinstance(axis, tuple):
              axis = tuple(axis)
      else:
          if not isinstance(axis, tuple):
              axis = (axis,)
      return jnp.linalg.norm(x, ord=ord, axis=axis, keepdims=keepdims)
  
imports: from collections import namedtuple
  from typing import Union, Optional, Tuple, Literal, Sequence, NamedTuple
  import jax.numpy
  import ivy
  from ivy import inf
  from ivy.func_wrapper import with_unsupported_dtypes
  from ivy.functional.backends.jax import JaxArray
  from .None import backend_version
  from ivy import promote_types_of_inputs
label_desc: Use image node_id 12 for calling a global function with example usage: matrix_norm() and returns: jnp