MCPcopy Create free account
hub / github.com/DingLei14/WiCoNet / __init__

Method __init__

utils/utils.py:116–121  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

114class AverageMeter(object):
115 """Computes and stores the average and current value"""
116 def __init__(self):
117 self.initialized = False
118 self.val = None
119 self.avg = None
120 self.sum = None
121 self.count = None
122
123 def initialize(self, val, count, weight):
124 self.val = val

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected