keras/src/layers/pooling/base_pooling.py/BasePooling/get_config
class BasePooling:    def get_config(self):
        config = super().get_config()
        config.update(
            {
                "pool_size": self.pool_size,
                "padding": self.padding,
                "strides": self.strides,
                "data_format": self.data_format,
            }
        )
        return config