Code fragment metadata

hasIdentifier: https://padme-analytics.de/pht/codeFragment/db1ed3ff1fcf5788b0e6f1d4fa5b4e63cdaadbba1c94637125d99e4b8944197d
hasContent: torch.save( { "epoch": -1, "optim_state_dict": optimizer.state_dict(), "model_state_dict": model.state_dict(), "best_acc": 0.0, }, model_dir / "dnn.pth.tar", )

Code fragment is used in the following Trains