cupy.random.set_random_state#
- cupy.random.set_random_state(rs)[source]#
Sets the state of the random number generator for the current device.
- Parameters:
state (RandomState) – Random state to set for the current device.
Site Navigation
Section Navigation
ndarray)
cupy.ufunc)cupy.fft)cupy.linalg)cupy.random)cupy.testing)cupyx.scipy.fft)cupyx.scipy.fftpack)
cupyx.scipy.interpolate)cupyx.scipy.linalg)cupyx.scipy.ndimage)cupyx.scipy.signal)cupyx.scipy.signal.windows)cupyx.scipy.sparse)cupyx.scipy.sparse.linalg)cupyx.scipy.sparse.csgraph)
cupyx.scipy.spatial)
cupyx.scipy.spatial.distance)cupyx.scipy.special)cupyx.scipy.stats)
Sets the state of the random number generator for the current device.
state (RandomState) – Random state to set for the current device.