code: def test_no_zero_point():
      with TempOpAttr(
          "qnn.conv2d", "FTVMQnnLegalize", legalize_qnn_conv2d
      ):
          # uint8 input
          data_shape = (2, 1, 2, 4)
          data_dtype = "uint8"
          kernel_shape = (3, 1, 2, 2)
          kernel_dtype = "uint8"
          ref_func, qnn_func = get_funcs(
              data_shape=data_shape,
              data_dtype=data_dtype,
              kernel_shape=kernel_shape,
              kernel_dtype=kernel_dtype,
              input_zero_point=0,
              kernel_zero_point=0,
              input_scale=1.0,
              kernel_scale=1.0,
              kernel_size=(2, 2),
              padding=(0, 0),
              strides=(1, 1),
              dilation=(1, 1),
              data_layout="NCHW",
              kernel_layout="OIHW",
              out_dtype="int32",
          )
          verify(
              ref_func,
              qnn_func,
              data_shape,
              data_dtype,
              kernel_shape,
              kernel_dtype,
          )
  
          # int8 input
          data_shape = (2, 1, 2, 4)
          data_dtype = "int8"
          kernel_shape = (3, 1, 2, 2)
          kernel_dtype = "int8"
          ref_func, qnn_func = get_funcs(
              data_shape=data_shape,
              data_dtype=data_dtype,
              kernel_shape=kernel_shape,
              kernel_dtype=kernel_dtype,
              input_zero_point=0,
              kernel_zero_point=0,
              input_scale=1.0,
              kernel_scale=1.0,
              kernel_size=(2, 2),
              padding=(0, 0),
              strides=(1, 1),
              dilation=(1, 1),
              data_layout="NCHW",
              kernel_layout="OIHW",
              out_dtype="int32",
          )
          verify(
              ref_func,
              qnn_func,
              data_shape,
              data_dtype,
              kernel_shape,
              kernel_dtype,
          )
  
imports: import tvm
  from tvm import te
  import numpy
  from tvm import relay
  from tvm.relay import transform
  from tvm.relay.testing import run_infer_type
  from tvm.contrib import graph_executor
  from tvm.relay.testing.temp_op_attr import TempOpAttr
label_desc: Use image node_id 6 for calling a global function with example usage: test_no_zero_point() without return types