code: def test_padding_same(self):
      layer = tl.MaxPool(pool_size=(3,), strides=(3,), padding="SAME")
  
      # One padding position needed; add at end.
      x = np.array([[[0, 9], [1, 8], [2, 7], [3, 6], [4, 5]]])
      y = layer(x)
      self.assertEqual(tl.to_list(y), [[[2, 9], [4, 6]]])
  
      # Two padding positions needed; add one at end and one at start.
      x = np.array([[[0, 9], [1, 8], [2, 7], [3, 6]]])
      y = layer(x)
      self.assertEqual(tl.to_list(y), [[[1, 9], [3, 7]]])
  
file_path: trax/trax/layers/pooling_test.py
imports: from absl.testing import absltest
  import numpy
  import trax.layers
label_desc: Use image node_id 4 for calling the MaxPoolTest obj's underlying member method code with example usage: obj.test_padding_same() without return types