keras/src/metrics/accuracy_metrics.py/BinaryAccuracy/get_config
class BinaryAccuracy:    def get_config(self):
        return {
            "name": self.name,
            "dtype": self.dtype,
            "threshold": self.threshold,
        }