code: def testMaxPoolSamePaddingNonSquareWindow(self):
      # input is:
      # [1.0, 2.0
      #  3.0  4.0]
      #
      # Window of [x, x] should do:
      #
      #  [max(1.0, 2.0), max(2.0, padded0),
      #   max(3.0, 4.0), max(4.0, padded0)]
      self._VerifyValues(
          nn_ops.max_pool,
          input_sizes=[1, 2, 2, 1],
          ksize=[1, 1, 2, 1],
          strides=[1, 1, 1, 1],
          padding="SAME",
          expected=[2.0, 2.0, 4.0, 4.0],
      )
  
imports: import numpy
  from tensorflow.compiler.tests import xla_test
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import tensor
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import gen_nn_ops
  from tensorflow.python.ops import nn_ops
  from tensorflow.python.platform import googletest
label_desc: Use image node_id 5 for calling the PoolingTest obj's underlying member method code with example usage: obj.testMaxPoolSamePaddingNonSquareWindow() without return types