Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated clipping to torch.nn.utils.clip_grad_norm_ (pytorch#403)
Description: Per the torch 0.4 documentation, torch.nn.utils.clip_grad_norm has been deprecated in favor of torch.nn.utils.clip_grad_norm_, this commit corrects the deprecated usage in word_language_model/main.py
- Loading branch information