code: def weights_np(filt_shape, dtype):
      if dtype == "float16":
          return np.random.uniform(size=filt_shape).astype(dtype)
      elif dtype in ("uint8", "int8"):
          weight_arr = np.random.uniform(
              low=-5, high=5, size=filt_shape
          ).astype("float32")
          return weight_arr
      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 7 for calling a global function with example usage: weights_np(filt_shape, dtype) and returns: np, weight_arr