快捷鍵

torch.cuda.get_rng_state_all

torch.cuda.get_rng_state_all()[原始碼][原始碼]

傳回 ByteTensor 的列表,表示所有設備的隨機數狀態。

傳回類型

List[Tensor]

文件

存取 PyTorch 的完整開發者文件

檢視文件

教學

取得初學者和高級開發者的深入教學

檢視教學

資源

尋找開發資源並獲得問題解答

檢視資源