code: def test_swapaxes_execution(setup):
      raw = np.random.random((11, 8, 5))
      arr = swapaxes(raw, 2, 0)
  
      res = arr.execute().fetch()
      np.testing.assert_array_equal(res, raw.swapaxes(2, 0))
  
      raw = np.random.random((11, 8, 5))
      arr = tensor(raw, chunk_size=3)
      arr2 = arr.swapaxes(2, 0)
  
      res = arr2.execute().fetch()
      np.testing.assert_array_equal(res, raw.swapaxes(2, 0))
  
      raw = sps.random(11, 8, density=0.2)
      arr = tensor(raw, chunk_size=3)
      arr2 = arr.swapaxes(1, 0)
  
      res = arr2.execute().fetch()
      np.testing.assert_array_equal(
          res.toarray(), raw.toarray().swapaxes(1, 0)
      )
  
      # test order
      raw = np.asfortranarray(np.random.rand(11, 8, 5))
  
      arr = tensor(raw, chunk_size=3)
      arr2 = arr.swapaxes(2, 0)
  
      res = arr2.execute().fetch()
      expected = raw.swapaxes(2, 0).copy(order="A")
  
      np.testing.assert_array_equal(res, expected)
      assert res.flags["C_CONTIGUOUS"] == expected.flags["C_CONTIGUOUS"]
      assert res.flags["F_CONTIGUOUS"] == expected.flags["F_CONTIGUOUS"]
  
      arr = tensor(raw, chunk_size=3)
      arr2 = arr.swapaxes(0, 2)
  
      res = arr2.execute().fetch()
      expected = raw.swapaxes(0, 2).copy(order="A")
  
      np.testing.assert_array_equal(res, expected)
      assert res.flags["C_CONTIGUOUS"] == expected.flags["C_CONTIGUOUS"]
      assert res.flags["F_CONTIGUOUS"] == expected.flags["F_CONTIGUOUS"]
  
      arr = tensor(raw, chunk_size=3)
      arr2 = arr.swapaxes(1, 0)
  
      res = arr2.execute().fetch()
      expected = raw.swapaxes(1, 0).copy(order="A")
  
      np.testing.assert_array_equal(res, expected)
      assert res.flags["C_CONTIGUOUS"] == expected.flags["C_CONTIGUOUS"]
      assert res.flags["F_CONTIGUOUS"] == expected.flags["F_CONTIGUOUS"]
  
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 5 for calling a global function with example usage: test_swapaxes_execution(setup) without return types