Code fragment metadata

hasIdentifier: https://padme-analytics.de/pht/codeFragment/2ae49dc35a43079e902f628c433d62267a0b33890c3dcd1d31b2c63f6e2e7bd0
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