code: def test_global_pooling_late_shape_init(self):
      network = layers.join(
          layers.Relu(),
          layers.GlobalPooling("max"),
      )
      self.assertShapesEqual(network.output_shape, (None, None))
  
      network = layers.join(layers.Input((10, 10, 3)), network)
      self.assertShapesEqual(network.output_shape, (None, 3))
  
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 6 for calling the GlobalPoolingLayersTestCase obj's underlying member method code with example usage: obj.test_global_pooling_late_shape_init() without return types