code: def test_squeeze():
      verify_squeeze((1, 2, 3, 4), 0)
      verify_squeeze((1, 2, 1, 4), None)
      verify_squeeze((1, 1, 1, 4), (1, 2))
      verify_squeeze((1, 1, 1, 1), None)
      verify_squeeze((1, 1, 1, 1), ())
  
      # a special case to trigger inline let expression
      A = te.placeholder((2,), "float32", "A")
      E = topi.squeeze(A)
      C = te.compute((1,), lambda i: E[(2 * A[0] - 1).astype("int32")])
      for target in ["llvm", "cuda", "opencl"]:
          dev = tvm.device(target, 0)
          if tvm.testing.device_enabled(target):
              with tvm.target.Target(target):
                  s = tvm.topi.testing.get_injective_schedule(target)(C)
                  func = tvm.build(s, [A, C])
              a = tvm.nd.array(
                  np.array((1, 2)).astype("float32"), device=dev
              )
              c = tvm.nd.empty((1,), dtype="float32", device=dev)
              func(a, c)
              assert c.numpy()[0] == 2
  
imports: import numpy
  import pytest
  import tvm
  from tvm import te
  from tvm import topi
  from tvm import relay
  import tvm.topi.testing
  from tvm.contrib.nvcc import have_fp16
  import tvm.testing
label_desc: Use image node_id 37 for calling a global function with example usage: test_squeeze() without return types