code: def test_onnx_tensor_property_device(
      dtype_x,
  ):
      _, data = dtype_x
      x = Tensor(data[0])
      x.ivy_array = data[0]
      ivy.utils.assertions.check_equal(
          x.device, ivy.dev(ivy.array(data[0])), as_array=False
      )
  
file_path: ivy/ivy_tests/test_ivy/test_frontends/test_onnx/test_tensor.py
imports: import ivy
  from hypothesis import given
  import pytest
  import ivy_tests.test_ivy.helpers
  from ivy.functional.frontends.onnx import Tensor
label_desc: Use image node_id 1 for calling a global function with example usage: test_onnx_tensor_property_device(dtype_x) without return types