pysad.statistics.AverageMeter¶
- class pysad.statistics.AverageMeter[source]¶
The average of the values.
- Attrs:
sum (float): The summation of values. num_items (int): The number of items that are used to update the statistic.
Methods
__init__()get()Method to obtain the tracked statistic.
remove(num)Updates the statistic by removing particular value.
update(num)Updates the statistic with the value for a timestep.