code: def to_ivy_arrays_and_back(fn: Callable) -> Callable:
      """Wrap `fn` so it receives and returns `ivy.Array` instances.
  
      Wrap `fn` so that input arrays are all converted to `ivy.Array`
      instances and return arrays are all converted to `ndarray.NDArray`
      instances.
      """
      return outputs_to_frontend_arrays(inputs_to_ivy_arrays(fn))
  
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 8 for calling a global function with example usage: to_ivy_arrays_and_back(fn) and returns: outputs_to_frontend_arrays