jax.random.randint

Contents

jax.random.randint#

jax.random.randint(key, shape, minval, maxval, dtype=<class 'int'>)[source]#

Sample uniform random values in [minval, maxval) with given shape/dtype.

Parameters:
Return type:

Array

Returns:

A random array with the specified shape and dtype.