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

Method init

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

Source from the content-addressed store, hash-verified

71 self.file_path = file_path
72
73 def init(self, state: State, logger: Logger):
74 with open(self.file_path, 'a') as f:
75 f.write('init logger, ')
76
77 def batch_end(self, state: State, logger: Logger):
78 with open(self.file_path, 'a') as f:

Callers

nothing calls this directly

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected