keras/src/layers/reshaping/flatten.py/Flatten/get_config
class Flatten:    def get_config(self):
        config = {"data_format": self.data_format}
        base_config = super().get_config()
        return {**base_config, **config}