code: def _get_native_y(y):
      """Convert all outputs to native arrays."""
      array_idxs = ivy.nested_argwhere(
          y, lambda x: ivy.is_native_array(x)
      )
      y_final = []
      if (
          isinstance(array_idxs, list)
          and np.asarray(array_idxs, "object").size > 0
      ):
          y_final = ivy.multi_index_nest(y, array_idxs)
      return y_final
  
imports: from typing import Sequence, Union, Optional, Tuple, Callable
  import numpy
  import itertools
  import ivy
  from ivy.utils.backend import current_backend
  from ivy.func_wrapper import handle_array_function, inputs_to_ivy_arrays, to_native_arrays_and_back, handle_out_argument, handle_nestable, handle_array_like_without_promotion, handle_device, handle_backend_invalid
  from ivy.utils.exceptions import handle_exceptions
label_desc: Use image node_id 8 for calling a global function with example usage: _get_native_y(y) and returns: y_final