def factorized_gaussian_noise(in_features, out_features, device):
in_noise = scaled_noise(in_features, device=device)<EOL>out_noise = scaled_noise(out_features, device=device)<EOL>return out_noise.ger(in_noise), out_noise<EOL>
Factorised (cheaper) gaussian noise from "Noisy Networks for Exploration"
by Meire Fortunato, Mohammad Gheshlaghi Azar, Bilal Piot and others