class_docstr: Test quantize class.
code: def expected_output_np(self, input_np, output_dtype):
      global QUANTIZE_SCALE, QUANTIZE_ZERO_POINT
      quant_np, QUANTIZE_SCALE, QUANTIZE_ZERO_POINT = quantize_np(
          input_np, output_dtype
      )
      return quant_np
  
file_path: tvm/tests/python/contrib/test_hexagon/topi/test_quantize.py
imports: import numpy
  import tvm
  from tvm import te
  import tvm.topi.hexagon.qnn
  from tvm.contrib.hexagon import allocate_hexagon_array
  from ..infrastructure import transform_numpy, quantize_np, get_hexagon_target
label_desc: Use image node_id 1 for calling the TestQuantize obj's underlying member method code with example usage: obj.expected_output_np(input_np, output_dtype) and returns: quant_np