code: def test_reshape_execution(setup):
      raw_data = np.random.rand(5, 10, 30)
      x = tensor(raw_data, chunk_size=8)
  
      y = x.reshape(-1, 30)
  
      res = y.execute().fetch()
      np.testing.assert_array_equal(res, raw_data.reshape(-1, 30))
  
      y2 = x.reshape(10, -1)
  
      res = y2.execute().fetch()
      np.testing.assert_array_equal(res, raw_data.reshape(10, -1))
  
      y3 = x.reshape(-1)
  
      res = y3.execute().fetch()
      np.testing.assert_array_equal(res, raw_data.reshape(-1))
  
      y4 = x.ravel()
  
      res = y4.execute().fetch()
      np.testing.assert_array_equal(res, raw_data.ravel())
  
      raw_data = np.random.rand(6, 20, 4)
      x = tensor(raw_data, chunk_size=5)
  
      y = x.reshape(-1, 4, 5, 2, 2)
  
      res = y.execute().fetch()
      np.testing.assert_array_equal(
          res, raw_data.reshape(-1, 4, 5, 2, 2)
      )
  
      y2 = x.reshape(120, 2, 2)
  
      res = y2.execute().fetch()
      np.testing.assert_array_equal(res, raw_data.reshape(120, 2, 2))
  
      y3 = x.reshape(12, 5, 8)
  
      res = y3.execute().fetch()
      np.testing.assert_array_equal(res, raw_data.reshape(12, 5, 8))
  
      y4 = x.reshape(12, 5, 8)
      y4.op.extra_params["_reshape_with_shuffle"] = True
  
      # size_res = self.executor.execute_tensor(y4, mock=True)
      res = y4.execute().fetch()
      # assert res[0].nbytes == sum(v[0] for v in size_res)
      assert np.array_equal(res, raw_data.reshape(12, 5, 8)) is True
  
      y5 = x.ravel(order="F")
  
      res = y5.execute().fetch()
      expected = raw_data.ravel(order="F")
      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 10 for calling a global function with example usage: test_reshape_execution(setup) without return types