MCPcopy Create free account
hub / github.com/SqueezeAILab/LLMCompiler / reset

Method reset

src/callbacks/callbacks.py:86–91  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

84 self.cnt += 1
85
86 def reset(self) -> None:
87 self.cnt = 0
88 self.input_tokens = 0
89 self.output_tokens = 0
90 self.all_times = []
91 self.additional_fields = {}
92
93 def get_stats(self) -> dict[str, int]:
94 return {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected