class Metric(object): | |
"""Base class for all metrics. | |
From: https://github.com/pytorch/tnt/blob/master/torchnet/meter/meter.py | |
""" | |
def reset(self): | |
pass | |
def add(self): | |
pass | |
def value(self): | |
pass | |
class Metric(object): | |
"""Base class for all metrics. | |
From: https://github.com/pytorch/tnt/blob/master/torchnet/meter/meter.py | |
""" | |
def reset(self): | |
pass | |
def add(self): | |
pass | |
def value(self): | |
pass | |