torch.Tensor.storage
- 张量.storage() → torch.TypedStorage[源代码]
-
返回底层的
TypedStorage。警告
TypedStorage已被弃用,将来会被移除。届时UntypedStorage将成为唯一的存储类。要直接访问UntypedStorage,请使用Tensor.untyped_storage()。
返回底层的 TypedStorage。
警告
TypedStorage 已被弃用,将来会被移除。届时UntypedStorage将成为唯一的存储类。要直接访问UntypedStorage,请使用Tensor.untyped_storage()。