torch.xpu.get_rng_state_all¶ torch.xpu.get_rng_state_all()[原始碼][原始碼]¶ 返回一個列表,其中包含表示所有裝置隨機數狀態的 ByteTensor。 返回型別 list[torch.Tensor]