捷徑

torch.Tensor.data_ptr

Tensor.data_ptr() int

傳回 self tensor 的第一個元素的位址。

文件

取得 PyTorch 完整的開發者文件

檢視文件

教學

取得適合初學者和進階開發者的深入教學

檢視教學

資源

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

檢視資源