MCPcopy Create free account
hub / github.com/InternScience/InternAgent / agg

Method agg

tasks/AutoPower/code/src/utils.py:65–66  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

63 self.cnt += 1
64
65 def agg(self):
66 return self.value / self.cnt
67
68 def reset(self):
69 self.value = 0

Callers 6

trainMethod · 0.80
trainMethod · 0.80
summary_epochMethod · 0.80
recordMethod · 0.80
prepare_splitMethod · 0.80
prepare_splitMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected