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.