code: def test_references_actually_refer(m):
      a = m.reference_tensor()
      temp = a[indices]
      a[indices] = 100
      assert_equal_tensor_ref(m.copy_const_tensor(), modified=100)
      a[indices] = temp
      assert_equal_tensor_ref(m.copy_const_tensor())
  
      a = m.reference_view_of_tensor()
      a[indices] = 100
      assert_equal_tensor_ref(m.copy_const_tensor(), modified=100)
      a[indices] = temp
      assert_equal_tensor_ref(m.copy_const_tensor())
  
file_path: coremltools/deps/pybind11/tests/test_eigen_tensor.py
imports: import sys
  import pytest
label_desc: Use image node_id 8 for calling a global function with example usage: test_references_actually_refer(m) without return types