def METHOD_NAME(self):
    test_utils.layer_test(
        keras.layers.GlobalAveragePooling1D, input_shape=(3, 4, 5)
    )
    test_utils.layer_test(
        keras.layers.GlobalAveragePooling1D,
        kwargs={"data_format": "channels_first"},
        input_shape=(3, 4, 5),
    )