MCPcopy Create free account
hub / github.com/alexklwong/mondi-python / save_model

Method save_model

src/kbnet_models.py:272–285  ·  view source on GitHub ↗

Save weights of the model to checkpoint path Arg(s): checkpoint_path : str path to save checkpoint step : int current training step optimizer : torch.optim optimizer

(self, checkpoint_path, step, optimizer)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected