code: def input_layout(op_layout, dtype):
      in_layout = op_layout.lower()
      if dtype == "float16":
          return in_layout + "-8h2w32c2w-2d"
      elif dtype == "int8" or "uint8":
          return in_layout + "-8h8w32c-2d"
      else:
          raise RuntimeError(f"Unsupported data type '{dtype}'")
  
file_path: tvm/tests/python/contrib/test_hexagon/topi/slice_op/test_avg_pool2d_slice.py
imports: import numpy
  from typing import *
  from tvm import te
  import tvm.testing
  from tvm.topi.testing import poolnd_python
  from tvm.contrib.hexagon.session import Session
  import tvm.topi.hexagon.slice_ops
  import tvm.topi.hexagon.qnn
  from tvm.contrib.hexagon import allocate_hexagon_array
  import pytest
  from ...infrastructure import transform_numpy, quantize_np, get_hexagon_target
  from ...pytest_util import get_multitest_ids, create_populated_numpy_ndarray, TensorContentRandom
label_desc: Use image node_id 2 for calling a global function with example usage: input_layout(op_layout, dtype) and returns: unknown, unknown