torch.set\_rng\_state ===================== .. currentmodule:: torch .. autofunction:: set_rng_state