評價此頁

torch.xpu.get_rng_state_all#

torch.xpu.get_rng_state_all()[源]#

返回一個 ByteTensor 列表,表示所有裝置的隨機數狀態。

返回型別

list[torch.Tensor]