torch.cuda.get_rng_state_all¶ torch.cuda.get_rng_state_all()[原始碼][原始碼]¶ 傳回 ByteTensor 的列表,表示所有設備的隨機數狀態。 傳回類型 List[Tensor]