struct Rng {
unsigned long state;
int hasSpare;
float spare;
}Fields
Box-Muller's second value is cached
Methods
[0, 1)
mean 0, std 1
[0, n)
A tensor of the given shape filled from N(0, 1) (a VAE's epsilon, a GAN's latent batch). Not part of any graph.