code: def outputs_to_frontend_arrays(fn: Callable) -> Callable:
      @functools.wraps(fn)
      def _outputs_to_frontend_arrays_onnx(*args, **kwargs):
          """Convert `ivy.Array` into `Tensor` instances.
  
          Call the function, and then converts all `ivy.Array` instances
          returned by the function into `Tensor` instances.
          """
          # call unmodified function
          ret = fn(*args, **kwargs)
  
          # convert all arrays in the return to `frontend.onnx.Tensor` instances
          return _from_ivy_array_to_onnx_frontend_tensor(
              ret, nested=True, include_derived={"tuple": True}
          )
  
      return _outputs_to_frontend_arrays_onnx
  
file_path: ivy/ivy/functional/frontends/onnx/func_wrapper.py
imports: import functools
  from typing import Callable
  import ivy
  import ivy.functional.frontends.onnx
label_desc: Use image node_id 7 for calling a global function with example usage: outputs_to_frontend_arrays(fn) and returns: _outputs_to_frontend_arrays_onnx, _from_ivy_array_to_onnx_frontend_tensor