code: def test_global_pooling_for_lower_dimensions(self):
      layer = layers.GlobalPooling("max")
      x = np.random.random((4, 5))
      y = layer.output(x)
      self.assertShapesEqual(y.shape, (4, 5))
  
imports: from collections import namedtuple
  import numpy
  import tensorflow
  from neupy import layers
  from neupy.utils import asfloat
  from neupy.exceptions import LayerConnectionError
  from neupy.layers.pooling import pooling_output_shape
  from base import BaseTestCase
label_desc: Use image node_id 5 for calling the GlobalPoolingLayersTestCase obj's underlying member method code with example usage: obj.test_global_pooling_for_lower_dimensions() without return types