Source code for torchnet.meter.meter
[docs]class Meter(object):
'''Meters provide a way to keep track of important statistics in an online manner.
This class is abstract, but provides a standard interface for all meters to follow.
'''
[docs] def add(self, value):
'''Log a new value to the meter
Args:
value: Next restult to include.
'''
pass