mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/SPATZ.git
synced 2025-06-11 02:26:00 +00:00
14 lines
202 B
Python
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) |