class_docstr: Test specialized case of adaptive_avg_pool1d.
code: def input_np(self, input_shape, dtype):
      if dtype in ("uint8", "int8"):
          dtype = "float32"
      return np.random.random(input_shape).astype(dtype)
  
file_path: tvm/tests/python/contrib/test_hexagon/topi/test_adaptive_avg_pool1d.py
imports: import numpy
  import tvm
  from tvm import te
  from tvm.topi.testing import adaptive_pool
  import tvm.topi.hexagon.qnn
  from tvm.contrib.hexagon import allocate_hexagon_array
  from ..infrastructure import transform_numpy, quantize_np
label_desc: Use image node_id 2 for calling the TestAdaptivePool1D obj's underlying member method code with example usage: obj.input_np(input_shape, dtype) and returns: np