code: def test_onnx_tensor_property_ivy_array(
      dtype_x,
  ):
      _, data = dtype_x
      x = Tensor(data[0])
      x.ivy_array = data[0]
      ret = helpers.flatten_and_to_np(
          ret=x.ivy_array.data, backend="torch"
      )
      ret_gt = helpers.flatten_and_to_np(ret=data[0], backend="torch")
      helpers.value_test(
          ret_np_flat=ret,
          ret_np_from_gt_flat=ret_gt,
          backend="torch",
      )
  
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 3 for calling a global function with example usage: test_onnx_tensor_property_ivy_array(dtype_x) without return types