code: def test_tensorflow_device(
      dtype_x,
      backend_fw,
  ):
      ivy.set_backend(backend_fw)
      _, data = dtype_x
      data = ivy.native_array(data[0])
      x = EagerTensor(data)
      ivy.utils.assertions.check_equal(
          x.device, ivy.dev(data), as_array=False
      )
      ivy.previous_backend()
  
imports: from hypothesis import strategies, given, assume
  import numpy
  import tensorflow
  import ivy
  import ivy_tests.test_ivy.helpers
  from ivy_tests.test_ivy.helpers import handle_frontend_method, BackendHandler
  from ivy_tests.test_ivy.test_frontends.test_tensorflow.test_raw_ops import _pow_helper_shared_dtype
  from ivy.functional.frontends.tensorflow import EagerTensor
label_desc: Use image node_id 38 for calling a global function with example usage: test_tensorflow_device(dtype_x, backend_fw) without return types