code: def test_shuffle_reshape_execution(setup):
      a = ones((31, 27), chunk_size=10)
      b = a.reshape(27, 31)
      b.op.extra_params["_reshape_with_shuffle"] = True
  
      res = b.execute().fetch()
      np.testing.assert_array_equal(res, np.ones((27, 31)))
  
      b2 = a.reshape(27, 31, order="F")
      b.op.extra_params["_reshape_with_shuffle"] = True
      res = b2.execute().fetch()
      assert res.flags["F_CONTIGUOUS"] is True
      assert res.flags["C_CONTIGUOUS"] is False
  
      data = np.random.rand(6, 4)
      x2 = tensor(data, chunk_size=2)
      y2 = x2.reshape(4, 6, order="F")
      y2.op.extra_params["_reshape_with_shuffle"] = True
      res = y2.execute().fetch()
      expected = data.reshape((4, 6), order="F")
      np.testing.assert_array_equal(res, expected)
      assert res.flags["F_CONTIGUOUS"] is True
      assert res.flags["C_CONTIGUOUS"] is False
  
      data2 = np.asfortranarray(np.random.rand(6, 4))
      x3 = tensor(data2, chunk_size=2)
      y3 = x3.reshape(4, 6)
      y3.op.extra_params["_reshape_with_shuffle"] = True
      res = y3.execute().fetch()
      expected = data2.reshape((4, 6))
      np.testing.assert_array_equal(res, expected)
      assert res.flags["C_CONTIGUOUS"] is True
      assert res.flags["F_CONTIGUOUS"] is False
  
imports: import numpy
  from ...datasource import ones, tensor
label_desc: Use image node_id 2 for calling a global function with example usage: test_shuffle_reshape_execution(setup) without return types