MCPcopy Create free account
hub / github.com/Vegetebird/GraphMLP / update

Method update

common/utils.py:18–22  ·  view source on GitHub ↗
(self, val, n=1)

Source from the content-addressed store, hash-verified

16 self.count = 0
17
18 def update(self, val, n=1):
19 self.val = val
20 self.sum += val
21 self.count += n
22 self.avg = self.sum / self.count
23
24
25def get_varialbe(split, target):

Callers 9

trainFunction · 0.45
print_error_actionFunction · 0.45
define_error_listFunction · 0.45
Load_modelFunction · 0.45
__init__Method · 0.45
mpjpe_by_action_p1Function · 0.45
mpjpe_by_action_p2Function · 0.45
mpjpe_by_action_pckFunction · 0.45
mpjpe_by_action_aucFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected