code: def test_out_cum_reduction_execution(setup):
      raw = np.random.randint(5, size=(8, 8, 8))
  
      arr = tensor(raw, chunk_size=6)
      arr.cumsum(axis=0, out=arr)
  
      res = arr.execute().fetch()
      expected = raw.cumsum(axis=0)
  
      np.testing.assert_array_equal(res, expected)
  
imports: import numpy
  import scipy.sparse
  import pytest
  from ....utils import ignore_warning
  from ...datasource import ones, tensor
  from ..None import mean, nansum, nanmax, nanmin, nanmean, nanprod, nanargmax, nanargmin, nanvar, nanstd, count_nonzero, allclose, array_equal, var, std, nancumsum, nancumprod
label_desc: Use image node_id 12 for calling a global function with example usage: test_out_cum_reduction_execution(setup) without return types