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

Method reset

utils/torchmetric_kid.py:275–282  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

273 return kid_scores.mean(), kid_scores.std(unbiased=False)
274
275 def reset(self) -> None:
276 if not self.reset_real_features:
277 # remove temporarily to avoid resetting
278 value = self._defaults.pop("real_features")
279 super().reset()
280 self._defaults["real_features"] = value
281 else:
282 super().reset()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected