tgritsaev's picture
Upload 198 files
affcd23 verified
raw
history blame contribute delete
210 Bytes
class BaseMetric:
def __init__(self, name=None, *args, **kwargs):
self.name = name if name is not None else type(self).__name__
def __call__(self, **batch):
raise NotImplementedError()