MCPcopy
hub / github.com/stas00/ml-engineering / batch_end_frame

Method batch_end_frame

debug/underflow_overflow.py:211–212  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

209 self.expand_frame(f"{'abs min':8} {'abs max':8} metadata")
210
211 def batch_end_frame(self):
212 self.expand_frame(f"{self.prefix} *** Finished batch number={self.batch_number-1} ***\n\n")
213
214 def create_frame(self, module, input, output):
215 self.expand_frame(f"{self.prefix} {self.module_names[module]} {module.__class__.__name__}")

Callers

nothing calls this directly

Calls 1

expand_frameMethod · 0.95

Tested by

no test coverage detected