torch.xpu.get_rng_state_all¶ torch.xpu.get_rng_state_all()[原始碼][原始碼]¶ 傳回一個 ByteTensor 的列表,表示所有裝置的亂數生成器狀態。 傳回類型 List[Tensor]