How to use jax.random package for sampling general normal distribution? #8149
Answered
by
jakevdp
EngineerKhan
asked this question in
Q&A
-
While |
Beta Was this translation helpful? Give feedback.
Answered by
jakevdp
Oct 11, 2021
Replies: 1 comment
-
The equivalent of x = np.random.normal(mean, std, shape) would be x = mean + std * jax.random.normal(key, shape) |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
EngineerKhan
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The equivalent of
would be