code: def testPoolSimple(self):
      with self.session(use_gpu=test.is_gpu_available()):
          for padding in ["SAME", "VALID"]:
              for pooling_type in ["MAX", "AVG"]:
                  self._test(
                      input_shape=[1, 1, 10, 1],
                      window_shape=[1, 3],
                      padding=padding,
                      pooling_type=pooling_type,
                      dilation_rate=[1, 1],
                      strides=[1, 2],
                  )
  
imports: import math
  import numpy
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import gradient_checker
  from tensorflow.python.ops import nn_ops
  import tensorflow.python.ops.nn_grad
  from tensorflow.python.platform import test
label_desc: Use image node_id 2 for calling the PoolingTest obj's underlying member method code with example usage: obj.testPoolSimple() without return types