MCPcopy Create free account
hub / github.com/CompVis/zigma / reset

Method reset

utils/torchmetric_prdc.py:196–203  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

194 return d
195
196 def reset(self) -> None:
197 if not self.reset_real_features:
198 # remove temporarily to avoid resetting
199 value = self._defaults.pop("real_features")
200 super().reset()
201 self._defaults["real_features"] = value
202 else:
203 super().reset()
204
205

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected