src/transformers/models/swin/modeling_tf_swin.py/AdaptiveAveragePooling1D/get_config
class AdaptiveAveragePooling1D:    def get_config(self) -> Dict[str, Any]:
        config = {
            "output_size": self.output_size,
            "data_format": self.data_format,
        }
        base_config = super().get_config()
        return {**base_config, **config}