MCPcopy
hub / github.com/Janspiry/Palette-Image-to-Image-Diffusion-Models / reset

Method reset

core/logger.py:155–157  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

153 self.reset()
154
155 def reset(self):
156 for col in self._data.columns:
157 self._data[col].values[:] = 0
158
159 def update(self, key, value, n=1):
160 self._data.total[key] += value * n

Callers 4

__init__Method · 0.95
train_stepMethod · 0.80
val_stepMethod · 0.80
testMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected