code: def test_tree_arithmetic_execution(setup):
      raws = [np.random.rand(10, 10) for _ in range(10)]
      tensors = [tensor(a, chunk_size=3) for a in raws]
  
      res = tree_add(*tensors, 1.0).execute().fetch()
      np.testing.assert_array_almost_equal(
          res, 1.0 + functools.reduce(operator.add, raws)
      )
  
      res = tree_multiply(*tensors, 2.0).execute().fetch()
      np.testing.assert_array_almost_equal(
          res, 2.0 * functools.reduce(operator.mul, raws)
      )
  
      raws = [sps.random(5, 9, density=0.1) for _ in range(10)]
      tensors = [tensor(a, chunk_size=3) for a in raws]
  
      res = tree_add(*tensors).execute().fetch()
      np.testing.assert_array_almost_equal(
          res.toarray(), functools.reduce(operator.add, raws).toarray()
      )
  
imports: import functools
  import operator
  import numpy
  import scipy.sparse
  import pytest
  from ....config import option_context
  from ....session import execute, fetch
  from ....tests.core import require_cupy
  from ....utils import ignore_warning
  from ...datasource import ones, tensor, zeros, arange
  from ..None import add, cos, truediv, frexp, modf, clip, isclose, arctan2, tree_add, tree_multiply
label_desc: Use image node_id 24 for calling a global function with example usage: test_tree_arithmetic_execution(setup) without return types