SPATZ/spatz/metrics/metric.py
2023-12-14 19:19:40 +01:00

14 lines
202 B
Python

from typing import Any
class Metric:
def __init__(self) -> None:
self.__sum = 0
def get_score():
pass
def __call__(self, *args) -> Any:
self.__sum += abs(x - y)