code: def test_delete_execution(setup):
      raw = np.random.randint(0, 100, size=(20, 10))
      a = tensor(raw, chunk_size=6)
  
      r1 = mt.delete(a, 1)
      result = r1.execute().fetch()
      np.testing.assert_array_equal(np.delete(raw, 1), result)
  
      r2 = mt.delete(a, [3, 50, 10])
      result = r2.execute().fetch()
      np.testing.assert_array_equal(np.delete(raw, [3, 50, 10]), result)
  
      # specify axis
      r4 = mt.delete(a, 5, axis=0)
      result = r4.execute().fetch()
      np.testing.assert_array_equal(np.delete(raw, 5, axis=0), result)
  
      r5 = mt.delete(a, [1, 2, 6], axis=1)
      result = r5.execute().fetch()
      np.testing.assert_array_equal(
          np.delete(raw, [1, 2, 6], axis=1), result
      )
  
      r6 = mt.delete(a, mt.tensor([1, 2, 6, 8], chunk_size=3), axis=1)
      result = r6.execute().fetch()
      np.testing.assert_array_equal(
          np.delete(raw, [1, 2, 6, 8], axis=1), result
      )
  
      r7 = mt.delete(a, slice(0, 10), axis=0)
      result = r7.execute().fetch()
      np.testing.assert_array_equal(
          np.delete(raw, slice(0, 10), axis=0), result
      )
  
      r8 = mt.delete(a, mt.tensor([10, 20, 6, 80]))
      result = r8.execute().fetch()
      np.testing.assert_array_equal(
          np.delete(raw, [10, 20, 6, 80]), result
      )
  
      r9 = mt.delete(a, 9, axis=1)
      result = r9.execute().fetch()
      np.testing.assert_array_equal(np.delete(raw, 9, axis=1), result)
  
imports: import numpy
  import scipy.sparse
  import pandas
  import pytest
  from ....None import dataframe
  from ....None import tensor
  from ....None import execute, fetch
  from ....tests.core import require_cupy
  from ...datasource import tensor, ones, zeros, arange
  from ..None import copyto, transpose, moveaxis, broadcast_to, broadcast_arrays, where, expand_dims, rollaxis, atleast_1d, atleast_2d, atleast_3d, argwhere, array_split, split, hsplit, vsplit, dsplit, roll, squeeze, diff, ediff1d, flip, flipud, fliplr, repeat, tile, isin, searchsorted, unique, sort, argsort, partition, argpartition, topk, argtopk, trapz, shape, to_gpu, to_cpu, swapaxes
label_desc: Use image node_id 48 for calling a global function with example usage: test_delete_execution(setup) without return types