code: def test_setitem_structured_execution(setup):
      rec_type = np.dtype(
          [
              ("a", np.int32),
              ("b", np.double),
              ("c", np.dtype([("a", np.int16), ("b", np.int64)])),
          ]
      )
  
      raw = np.zeros((4, 5), dtype=rec_type)
      arr = tensor(raw.copy(), chunk_size=3)
  
      arr[1:4, 1] = (3, 4.0, (5, 6))
      arr[1:4, 2] = 8
      arr[1:3] = np.arange(5)
      arr[2:4] = np.arange(10).reshape(2, 5)
      arr[0] = np.arange(5)
  
      raw[1:4, 1] = (3, 4.0, (5, 6))
      raw[1:4, 2] = 8
      raw[1:3] = np.arange(5)
      raw[2:4] = np.arange(10).reshape(2, 5)
      raw[0] = np.arange(5)
  
      res = arr.execute().fetch()
      assert arr.dtype == raw.dtype
      assert arr.shape == raw.shape
      np.testing.assert_array_equal(res, raw)
  
imports: import numpy
  import scipy.sparse
  import pytest
  from ....config import options
  from ...None import mod, stack, hstack
  from ...datasource import tensor, arange, zeros
  from ..None import take, compress, extract, choose, unravel_index, nonzero, flatnonzero, fill_diagonal
label_desc: Use image node_id 8 for calling a global function with example usage: test_setitem_structured_execution(setup) without return types