code: def _type_conversion(x):
      # Does type conversion, floats maps to float,
      # complex maps to complex,
      # 64bit dtype to float64, everything else to float32
      x = ivy.asarray(x)
      dtype = ivy.as_ivy_dtype(x.dtype)
      if not ("float" in dtype or "complex" in dtype):
          dtype = "float64" if "64" in dtype[-2:] else "float32"
      return ivy.astype(x, dtype)
  
imports: import ivy
  from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back
  from ivy.func_wrapper import with_supported_dtypes
label_desc: Use image node_id 6 for calling a global function with example usage: _type_conversion(x) and returns: ivy