torch.Tensor.storage#
- Tensor.storage() torch.TypedStorage[source]#
返回底層的
TypedStorage。警告
TypedStorage已棄用。它將在未來被移除,而UntypedStorage將是唯一的 storage 類。要直接訪問UntypedStorage,請使用Tensor.untyped_storage()。
返回底層的 TypedStorage。
警告
TypedStorage 已棄用。它將在未來被移除,而 UntypedStorage 將是唯一的 storage 類。要直接訪問 UntypedStorage,請使用 Tensor.untyped_storage()。