keras/src/metrics/probabilistic_metrics.py/SparseCategoricalCrossentropy/get_config
class SparseCategoricalCrossentropy:    def get_config(self):
        return {
            "name": self.name,
            "dtype": self.dtype,
            "from_logits": self.from_logits,
            "axis": self.axis,
        }