code: def handle_mxnet_out(fn: Callable) -> Callable:
      @functools.wraps(fn)
      def _handle_mxnet_out(*args, **kwargs):
          if "out" not in kwargs:
              keys = list(inspect.signature(fn).parameters.keys())
              out_pos = keys.index("out")
              kwargs = {
                  **dict(
                      zip(
                          keys[keys.index("out") :],
                          args[out_pos:],
                      )
                  ),
                  **kwargs,
              }
              args = args[:out_pos]
          return fn(*args, **kwargs)
  
      _handle_mxnet_out.handle_numpy_out = True
      return _handle_mxnet_out
  
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 5 for calling a global function with example usage: handle_mxnet_out(fn) and returns: _handle_mxnet_out, fn