code: def device_get(x):
      if ivy.dev(x) != "cpu":
          x = ivy.to_device(x, "cpu")
      return x
  
imports: import ivy
  from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back, outputs_to_native_arrays
  from ivy.func_wrapper import outputs_to_ivy_arrays
label_desc: Use image node_id 1 for calling a global function with example usage: device_get(x) and returns: x