MCPcopy
hub / github.com/mosaicml/composer / batch_end

Method batch_end

tests/test_engine.py:77–79  ·  view source on GitHub ↗
(self, state: State, logger: Logger)

Source from the content-addressed store, hash-verified

75 f.write('init logger, ')
76
77 def batch_end(self, state: State, logger: Logger):
78 with open(self.file_path, 'a') as f:
79 f.write('on_batch_end logger, ')
80
81
82def test_engine_runs_callbacks_in_correct_order(dummy_state, tmp_path):

Callers

nothing calls this directly

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected