code: def transformed_expected_output_np(
      expected_output_np, in_out_layout, dtype
  ):
      if dtype == "float16":
          return transform_numpy(
              expected_output_np, "nhwc", in_out_layout
          )
      elif dtype in ("uint8", "int8"):
          quant_arr, scale, zero_point = quantize_np(
              expected_output_np, dtype
          )
          return [
              transform_numpy(quant_arr, "nhwc", in_out_layout),
              scale,
              zero_point,
          ]
      else:
          raise RuntimeError(f"Unsupported data type '{dtype}'")
  
imports: import numpy
  import tvm
  import tvm.testing
  import tvm.topi.hexagon.qnn
  from tvm.topi.testing import depthwise_conv2d_python_nhwc
  from tvm.topi.hexagon.slice_ops.dwconv2d import dwconv2d_compute, dwconv2d_schedule
  from tvm.contrib.hexagon import allocate_hexagon_array
  from ...infrastructure import transform_numpy, quantize_np
label_desc: Use image node_id 5 for calling a global function with example usage: transformed_expected_output_np(expected_output_np, in_out_layout, dtype) and returns: transform_numpy, list