MCPcopy
hub / github.com/openai/guided-diffusion / reset

Function reset

guided_diffusion/logger.py:479–483  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

477
478
479def reset():
480 if Logger.CURRENT is not Logger.DEFAULT:
481 Logger.CURRENT.close()
482 Logger.CURRENT = Logger.DEFAULT
483 log("Reset logger")
484
485
486@contextmanager

Callers

nothing calls this directly

Calls 2

logFunction · 0.85
closeMethod · 0.45

Tested by

no test coverage detected