code: def test_array_function(setup):
      a = ones((10, 20), chunk_size=8)
  
      # test sum
      np.testing.assert_equal(np.sum(a).execute().fetch(), 200)
  
      # test qr
      q, r = np.linalg.qr(a)
      np.testing.assert_array_almost_equal(
          np.dot(q, r).execute().fetch(), a
      )
  
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 1 for calling a global function with example usage: test_array_function(setup) without return types