code: def test_view_data_on_reshape(setup):
      data = np.random.RandomState(0).random((3, 4, 5))
      a = tensor(data.copy(), chunk_size=2)
      b = a.reshape((5, 4, 3))
      b[:3] = 10
  
      npa = data.copy()
      npb = npa.reshape((5, 4, 3))
      npb[:3] = 10
  
      np.testing.assert_array_equal(b.execute(), npb)
      np.testing.assert_array_equal(a.execute(), npa)
  
      data = np.random.RandomState(0).random((4, 5))
      a2 = tensor(data.copy(), chunk_size=2)
      b2 = a2.reshape((5, 4), order="F")
      b2[:3] = 10
  
      npa = data.copy()
      npb = npa.reshape((5, 4), order="F")
      npb[:3] = 10
  
      b2_result = b2.execute()
      np.testing.assert_array_equal(a2.execute(), npa)
      np.testing.assert_array_equal(b2_result, npb)
  
file_path: mars/mars/tensor/tests/test_core_execution.py
imports: import numpy
  from ..None import ones, add, swapaxes, moveaxis, atleast_1d, atleast_2d, atleast_3d, squeeze, tensor
label_desc: Use image node_id 11 for calling a global function with example usage: test_view_data_on_reshape(setup) without return types