code: def inputs_to_ivy_arrays(fn: Callable) -> Callable:
      @functools.wraps(fn)
      def _inputs_to_ivy_arrays_mxnet(*args, **kwargs):
          """Convert `ndarray.NDArray` into `ivy.Array` instances.
  
          Convert all `ndarray.NDArray` instances in both the positional
          and keyword arguments into `ivy.Array` instances, and then calls
          the function with the updated arguments.
          """
          # convert all arrays in the inputs to ivy.Array instances
          new_args = ivy.nested_map(
              _to_ivy_array,
              args,
              include_derived={"tuple": True},
              shallow=False,
          )
          new_kwargs = ivy.nested_map(
              _to_ivy_array,
              kwargs,
              include_derived={"tuple": True},
              shallow=False,
          )
          return fn(*new_args, **new_kwargs)
  
      _inputs_to_ivy_arrays_mxnet.inputs_to_ivy_arrays = True
      return _inputs_to_ivy_arrays_mxnet
  
file_path: ivy/ivy/functional/frontends/mxnet/func_wrapper.py
imports: import functools
  import inspect
  from typing import Callable
  import ivy
  from ivy.functional.frontends.mxnet.numpy.ndarray import ndarray
label_desc: Use image node_id 6 for calling a global function with example usage: inputs_to_ivy_arrays(fn) and returns: _inputs_to_ivy_arrays_mxnet, fn