class_docstr: QNN requantize test class
docstr: Test qnn.requantize
docstr_tok: ["Test","qnn.requantize"]
code: def test_qnn_requantize(self, hexagon_session: Session):
      """Test qnn.requantize"""
      data_shape = [256]
      data = relay.var("data", shape=data_shape, dtype="int32")
  
      op = relay.qnn.requantize(
          data,
          input_scale=relay.const(0.156),
          input_zero_point=relay.const(2),
          output_scale=relay.const(0.212),
          output_zero_point=relay.const(1),
          out_dtype="int8",
      )
      relay_mod = tvm.IRModule.from_expr(op)
  
      inputs = {"data": np.arange(-256, 256, 2, dtype="int32")}
  
      run_and_compare(
          hexagon_session, relay_mod, inputs, rtol=0, atol=0
      )
  
imports: import numpy
  import tvm.testing
  import tvm.topi.testing
  from tvm import relay
  from tvm.contrib.hexagon.session import Session
  from tvm.contrib.hexagon.pytest_plugin import HEXAGON_AOT_LLVM_TARGET
  from tvm.relay.backend import Executor
  from tvm.relay.testing import run_opt_pass, run_infer_type
  from .infrastructure import quantize_np
label_desc: Use image node_id 1 for calling the TestQnnRequantize obj's underlying member method code with example usage: obj.test_qnn_requantize(hexagon_session) without return types