mypackage.MyPyroModel.save¶
-
MyPyroModel.
save
(dir_path, overwrite=False, save_anndata=False, **anndata_write_kwargs)¶ Save the state of the model.
Neither the trainer optimizer state nor the trainer history are saved. Model files are not expected to be reproducibly saved and loaded across versions until we reach version 1.0.
- Parameters