code: def test_ethosu_pooling_same_ifm_and_kernel_shape(
      accel_type,
      pooling_type,
      ifm_shape,
      pool_shape,
      strides,
      activation_function,
      padding,
  ):
      np.random.seed(0)
  
      @tf.function
      def pooling(x):
          if pooling_type == "MAX":
              op = tf.nn.max_pool(x, pool_shape, strides, padding)
          elif pooling_type == "AVG":
              op = tf.nn.avg_pool(x, pool_shape, strides, padding)
          if activation_function == "RELU":
              op = tf.nn.relu(op)
          return op
  
      infra.compare_tvm_with_tflite(pooling, [ifm_shape], accel_type)
  
imports: import pytest
  import numpy
  import tflite.Model
  import tvm
  import tensorflow
  from tvm import relay
  from tvm.relay.backend.contrib.ethosu import util
  from tvm.relay.op.contrib.ethosu import partition_for_ethosu
  from tvm.testing.aot import generate_ref_data
  from .None import infra
label_desc: Use image node_id 12 for calling a global function with example usage: test_ethosu_pooling_same_ifm_and_kernel_shape(accel_type, pooling_type, ifm_shape, pool_shape, strides, activation_function, padding) and returns: op