File size: 83 Bytes
aa5b724
 
d44b839
 
1
2
3
4
5
import torch

def apply_white_noise(x):
    return x + 0.005 * torch.randn_like(x)