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