Scale parameter in random.exponential()
#8151
Unanswered
EngineerKhan
asked this question in
Ideas
Replies: 1 comment 4 replies
-
We've opted not to have an extra parameter, because it's quite easy to scale the results yourself. For example, if you write this in numpy: x = np.random.exponential(scale=10, size=(1000,)) the equivalent in JAX is this: x = 10 * jax.random.exponential(key, shape=(1000,)) |
Beta Was this translation helpful? Give feedback.
4 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.
-
Like Numpy's version, there should be a scale (β) provision in
jax.random.exponential()
as well.Beta Was this translation helpful? Give feedback.
All reactions