code: def _to_native(
      x: Any, inplace: bool = False, to_ignore: tuple = ()
  ) -> Any:
      to_ignore = ivy.default(to_ignore, ())
      if isinstance(x, to_ignore):
          return x
      if isinstance(x, ivy.Array):
          return x.data
      # to prevent the graph from breaking for the time being
      elif type(x) is ivy.Shape:
          return x.shape
      elif isinstance(x, ivy.Container):
          return x.cont_map(
              lambda x_, _: _to_native(
                  x_, inplace=inplace, to_ignore=to_ignore
              ),
              inplace=inplace,
          )
      return x
  
file_path: ivy/ivy/data_classes/array/conversions.py
imports: import numpy
  from typing import Any, Union, Tuple, Dict, Iterable, Optional
  import ivy
label_desc: Use image node_id 3 for calling a global function with example usage: _to_native(x, inplace, to_ignore) and returns: x, x, x, x, x