cupy.random.set_random_state#

cupy.random.set_random_state(rs)[源代码][源代码]#

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

参数:

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