Code fragment metadata

hasIdentifier: https://padme-analytics.de/pht/codeFragment/a0340e5ba9befce7ccbd93da252cb9447c5abfdcaf01fcbf31bc1f671b50a275
hasContent: torch.save({ 'epoch': 0, 'optim_state_dict': optim.state_dict(), 'model_state_dict': model.state_dict(), 'best_acc': 0.0, }, osp.join(experiment_dir, 'best_model.pth.tar'))

Code fragment is used in the following Trains