Skip to content
Discussion options

You must be logged in to vote

https://github.com/google/jax/blob/88ac4edf63625db10f92d5368a598205aac1deb4/jax/_src/random.py#L496-L499
In your case, I think you should not reuse a key.
Even if p has proper randomness(i.e. uniform in simplex), fix key still cause bias w.r.t. position(index).
If a has proper randomness(i.e. uniform in permutation), it seems ok. However, are you sure that a has such randomness?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mchagneux
Comment options

Answer selected by mchagneux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants