keras/src/metrics/metric.py/Metric/__call__
class Metric:    def __call__(self, *args, **kwargs):
        self._check_super_called()
        self.update_state(*args, **kwargs)
        return self.result()