code: def test_reverse_reshape(executor_kind):
      def verify_reverse_reshape(
          executor_kind, shape, newshape, oshape
      ):
          x = relay.var("x", relay.TensorType(shape, "float32"))
          z = relay.reverse_reshape(x, newshape=newshape)
          zz = run_infer_type(z)
          assert "newshape=" in z.astext()
          assert zz.checked_type == relay.ty.TensorType(
              oshape, "float32"
          )
  
          func = relay.Function([x], z)
          x_data = np.random.uniform(low=-1, high=1, size=shape).astype(
              "float32"
          )
          ref_res = np.reshape(x_data, oshape)
          for target, dev in tvm.testing.enabled_targets():
              op_res = relay.create_executor(
                  executor_kind, device=dev, target=target
              ).evaluate(func)(x_data)
              tvm.testing.assert_allclose(
                  op_res.numpy(), ref_res, rtol=1e-5
              )
  
      verify_reverse_reshape(
          executor_kind, (2, 3, 4), (4, 0, 2), (4, 3, 2)
      )
      verify_reverse_reshape(
          executor_kind, (2, 3, 4), (2, 0, 0), (2, 3, 4)
      )
      verify_reverse_reshape(executor_kind, (2, 3, 4), (0, -1), (3, 8))
      verify_reverse_reshape(executor_kind, (2, 3, 4), (-1, 0), (6, 4))
      verify_reverse_reshape(executor_kind, (2, 3, 4), (0, -3), (2, 12))
  
imports: import sys
  import pytest
  import numpy
  import tvm
  import tvm.testing
  import tvm.topi.testing
  from tvm import relay, te, topi
  from tvm.relay import transform
  from tvm.relay.testing import run_infer_type
label_desc: Use image node_id 14 for calling a global function with example usage: test_reverse_reshape(executor_kind) without return types