This is just a guard to make sure this particular operation is not recorded by Autograd.
It’s most likely not necessary at this point, but I’m used to write it in that way.
The parameters will still be trained. Just the addition using the Gaussian noise won’t be recorded.