code: def test_reshape():
      Device.load("test_config.json")
  
      if skip_runtime_test():
          return
  
      device = Device()
      np.random.seed(0)
  
      for dtype, low, high, atol, rtol in [
          ("float32", -127, 128, 0.001, 0.001),
          ("uint8", 0, 255, 0, 0),
      ]:
          inputs = {
              "a": tvm.nd.array(
                  np.random.uniform(low, high, (1, 1, 1, 1000)).astype(
                      dtype
                  )
              )
          }
  
          for new_shape in [
              (1, 1000),
              (10, 10, 10),
              (10, 100, 1),
              (1, 1000, 1),
          ]:
              outputs = []
              func = _get_model(
                  inputs["a"].shape, new_shape, dtype, iter(inputs)
              )
              for acl in [False, True]:
                  outputs.append(
                      build_and_run(
                          func, inputs, 1, None, device, enable_acl=acl
                      )[0]
                  )
  
              config = {
                  "new shape": inputs["a"].shape,
                  "shape": new_shape,
                  "dtype": dtype,
              }
              verify(outputs, atol=1e-7, rtol=1e-7, config=config)
  
file_path: tvm/tests/python/contrib/test_arm_compute_lib/test_reshape.py
imports: import numpy
  import tvm
  from tvm import relay
  from tvm import testing
  from .infrastructure import skip_runtime_test, skip_codegen_test, build_and_run, verify, verify_codegen
  from .infrastructure import Device
label_desc: Use image node_id 3 for calling a global function with example usage: test_reshape() without return types