Code fragment metadata

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

Code fragment is used in the following Trains