torch.Tensor.storage¶
- Tensor.storage() torch.TypedStorage [源代码][源代码]¶
返回底层的
TypedStorage
。警告
TypedStorage
已弃用。它将在未来版本中移除,UntypedStorage
将会是唯一的存储类。要直接访问UntypedStorage
,请使用Tensor.untyped_storage()
。
返回底层的 TypedStorage
。
警告
TypedStorage
已弃用。它将在未来版本中移除,UntypedStorage
将会是唯一的存储类。要直接访问 UntypedStorage
,请使用 Tensor.untyped_storage()
。