mindspore.set_rng_state ========================== .. py:function:: mindspore.set_rng_state(state) 设置默认生成器状态。 参数: - **state** (Tensor) - 默认生成器的状态。