MCPcopy
hub / github.com/black0017/MedicalZooPytorch / reset

Method reset

lib/utils/covid_utils.py:44–46  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

42 self.reset()
43
44 def reset(self):
45 for key in self.data:
46 self.data[key] = 0
47
48 def update(self, key, value, n=1, writer_step=1):
49 if self.writer is not None:

Callers 4

__init__Method · 0.95
trainFunction · 0.95
validationFunction · 0.95
trainingMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected