title: How do I add some Gaussian noise to a tensor in PyTorch?
body: <p>I have a tensor I created using</p>
  
  <pre><code>    temp = torch.zeros(5, 10, 20, dtype=torch.float64)
      ## some values I set in temp
  </code></pre>
  
  <p>Now I want to add to each temp[i,j,k] a Gaussian noise (sampled from normal distribution with mean 0 and variance 0.1). How do I do it? I would expect there is a function to noise a tensor, but couldn't find anything. I did find this:</p>
  
  <p><a href="https://stackoverflow.com/questions/29823066/how-to-add-poisson-noise-and-gaussian-noise">How to add Poisson noise and Gaussian noise?</a></p>
  
  <p>but it seems to be related to images.</p>