torch.cuda.get_rng_state_all¶ torch.cuda.get_rng_state_all()[source][source]¶ 返回一個 ByteTensor 列表,表示所有裝置的隨機數狀態。 返回型別 list[torch.Tensor]