keras/src/losses/losses.py/LossFunctionWrapper/get_config
class LossFunctionWrapper:    def get_config(self):
        config = super().get_config()
        config.update({"fn": serialization_lib.serialize_keras_object(self.fn)})
        config.update(serialization_lib.serialize_keras_object(self._fn_kwargs))
        return config