keras/src/losses/losses.py/Tversky/get_config
class Tversky:    def get_config(self):
        return {
            "name": self.name,
            "alpha": self.alpha,
            "beta": self.beta,
            "reduction": self.reduction,
        }