code: def quant_arr(input_quant, weight_quant):
      if input_quant is None:
          return None
      arr = np.empty((6,), dtype="float32")
      arr[0] = input_quant["zero"]
      arr[1] = input_quant["scale"]
      arr[2] = weight_quant["zero"]
      arr[3] = weight_quant["scale"]
      return arr
  
imports: import pytest
  import numpy
  from tvm import te, topi
  import tvm.testing
  from tvm.topi import testing
  from tvm.contrib.hexagon.build import HexagonLauncher
  from tvm.contrib.hexagon.session import Session
  import tvm.topi.hexagon.qnn
  import tvm.topi.hexagon.slice_ops
  from ...infrastructure import transform_numpy, quantize_np
  from tvm.contrib.hexagon import allocate_hexagon_array
label_desc: Use image node_id 6 for calling a global function with example usage: quant_arr(input_quant, weight_quant) and returns: arr, None