Code fragment metadata

hasIdentifier: https://padme-analytics.de/pht/codeFragment/76f005d13fce1de2340b933054520e7a83ab6d7ed4afca8ff50506eb99ba3cc6
hasContent: torch.save({ 'epoch': epoch, 'optim_state_dict': optimizer.state_dict(), 'model_state_dict': model.state_dict(), 'best_acc': val_acc, }, osp.join(model_dir, 'checkpoint.pth.tar'))

Code fragment is used in the following Trains