def test_global_average_pooling(self): model = Sequential() model.add(GlobalAveragePooling2D(input_shape=(16,16,3))) self._test_keras_model(model)