Replies: 1 comment
-
Hi - it looks like you could replace this with a n_i = np.random.randn(10)
N_i = np.random.randn(10)
sigma_i = np.random.randn(10) And the output is |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey! I have the following function which I've been banging my head over the last several days:
I then intent to vmap over the last 2 arguments. This implementation works but it seems to be quite slow, my guess is that the for loop is the reason why it is slow. Is there a way to refactor it such that it eliminates the for loop? (I've tried lax.fori_loop with no success whatsoever)
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions