Code fragment metadata

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

Code fragment is used in the following Trains