You can check the doc for 1.7.0 https://pytorch.org/docs/1.7.0/search.html?q=gaussiannllloss&check_keywords=yes&area=default 22 this module did not exist back then.
You will need to use 1.8+ to be able to use that: Search — PyTorch 1.8.1 documentation 16