code: def outputs_to_frontend_arrays(fn: Callable) -> Callable:
      @functools.wraps(fn)
      def _outputs_to_frontend_arrays_jax(*args, **kwargs):
          weak_type = not any(
              (
                  isinstance(arg, jax_frontend.Array)
                  and arg.weak_type is False
              )
              or (isinstance(arg, ivy.Array) and arg.weak_type is False)
              or isinstance(arg, (tuple, list))
              for arg in args
          )
          if "dtype" in kwargs and kwargs["dtype"] is not None:
              weak_type = False
          # call unmodified function
          # ToDo: Remove this default dtype setting
          #  once frontend specific backend setting is added
          if jax_frontend.config.jax_enable_x64:
              ivy.set_default_int_dtype("int64")
              ivy.set_default_float_dtype("float64")
              try:
                  ret = fn(*args, **kwargs)
              finally:
                  ivy.unset_default_int_dtype()
                  ivy.unset_default_float_dtype()
          else:
              ret = fn(*args, **kwargs)
          # convert all arrays in the return to `jax_frontend.Array` instances
          if weak_type:
              return _from_ivy_array_to_jax_frontend_array_weak_type(
                  ret,
                  nested=True,
                  include_derived={"tuple": True},
              )
          return _from_ivy_array_to_jax_frontend_array(
              ret, nested=True, include_derived={"tuple": True}
          )
  
      _outputs_to_frontend_arrays_jax.outputs_to_frontend_arrays_jax = (
          True
      )
      return _outputs_to_frontend_arrays_jax
  
file_path: ivy/ivy/functional/frontends/jax/func_wrapper.py
imports: import functools
  from typing import Callable
  import inspect
  import ivy
  import ivy.functional.frontends.jax
  import ivy.functional.frontends.numpy
label_desc: Use image node_id 8 for calling a global function with example usage: outputs_to_frontend_arrays(fn) and returns: _outputs_to_frontend_arrays_jax, _from_ivy_array_to_jax_frontend_array, _from_ivy_array_to_jax_frontend_array_weak_type