MCPcopy Create free account
hub / github.com/MotrixLab/AiOS / clear

Method clear

util/misc.py:302–305  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

300 self.ready = False
301
302 def clear(self) -> None:
303 self.val_history.clear()
304 self.n_history.clear()
305 self.clear_output()
306
307 def clear_output(self) -> None:
308 self.output.clear()

Callers 2

showMethod · 0.45
clear_outputMethod · 0.45

Calls 1

clear_outputMethod · 0.95

Tested by

no test coverage detected