code: def Pooling(data, kernel, stride, pad, pool_type, name):
      if pool_type == "max":
          return relay.nn.max_pool2d(
              data=data, pool_size=kernel, strides=stride, padding=pad
          )
      if pool_type == "avg":
          return relay.nn.avg_pool2d(
              data=data,
              pool_size=kernel,
              strides=stride,
              padding=pad,
              count_include_pad=True,
          )
      raise ValueError("Invalid pooling type: " + pool_type)
  
file_path: tvm/python/tvm/relay/testing/inception_v3.py
imports: from tvm import relay
  from .init import create_workload
  from .None import layers
label_desc: Use image node_id 2 for calling a global function with example usage: Pooling(data, kernel, stride, pad, pool_type, name) and returns: relay, relay