keras/src/layers/pooling/global_average_pooling1d.py/GlobalAveragePooling1D/__init__
class GlobalAveragePooling1D:    def __init__(self, data_format=None, keepdims=False, **kwargs):
        super().__init__(
            pool_dimensions=1,
            data_format=data_format,
            keepdims=keepdims,
            **kwargs,
        )
        self.supports_masking = True