torch.Tensor.storage¶
- Tensor.storage() torch.TypedStorage [原始碼][原始碼]¶
傳回底層的
TypedStorage
。警告
TypedStorage
已被棄用。它將在未來版本中移除,且UntypedStorage
將會是唯一的 storage 類別。 若要直接存取UntypedStorage
,請使用Tensor.untyped_storage()
。
傳回底層的 TypedStorage
。
警告
TypedStorage
已被棄用。它將在未來版本中移除,且 UntypedStorage
將會是唯一的 storage 類別。 若要直接存取 UntypedStorage
,請使用 Tensor.untyped_storage()
。