cupy.random.set_random_state#

cupy.random.set_random_state(rs)[source]#

设置当前设备的随机数生成器状态。

参数:

state (RandomState) – 要为当前设备设置的随机状态。