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