code: def verify_adaptive_pool2d(
      dshape, out_size, pool_type, layout="NCHW", dtype="float32"
  ):
      opfunc = (
          relay.nn.adaptive_avg_pool2d
          if pool_type == "avg"
          else relay.nn.adaptive_max_pool2d
      )
      verify_adaptive_pool(
          dshape, out_size, pool_type, layout, dtype, opfunc
      )
  
imports: import sys
  import pytest
  import numpy
  import tvm
  import tvm.testing
  import tvm.topi.testing
  from tvm import relay, te, topi
  from tvm.relay import transform
  from tvm.relay.testing import run_infer_type
label_desc: Use image node_id 27 for calling a global function with example usage: verify_adaptive_pool2d(dshape, out_size, pool_type, layout, dtype) without return types