code: def test_view_data_on_atleast2d(setup):
      data = np.random.rand(10)
      a = atleast_2d(tensor(data, chunk_size=5))
      b = add(a[:, :5], 1, out=a[:, 5:])
  
      npa = np.atleast_2d(data.copy())
      npb = np.add(npa[:, :5], 1, out=npa[:, 5:])
  
      np.testing.assert_array_equal(a.execute(), npa)
      np.testing.assert_array_equal(b.execute(), 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 8 for calling a global function with example usage: test_view_data_on_atleast2d(setup) without return types