jacinle.utils.meter#
Classes
Computes and stores the average and current value |
|
Class AverageMeter
- class AverageMeter[source]#
Bases:
object
Computes and stores the average and current value
- __new__(**kwargs)#
Class GroupMeters
- class GroupMeters[source]#
Bases:
object
- __new__(**kwargs)#
- update(updates=None, value=None, n=1, prefix=None, **kwargs)[source]#
Update the meters.
Examples
>>> meters.update(key, value) >>> meters.update({key1: value1, key2: value2}) >>> meters.update(key1=value1, key2=value2)
- property avg#
- property count#
- property std#
- property sum#
- property val#