torch.Tensor.storage¶
- Tensor.storage() torch.TypedStorage [source]¶
Returns the underlying
TypedStorage
.Warning
TypedStorage
is deprecated. It will be removed in the future, andUntypedStorage
will be the only storage class. To access theUntypedStorage
directly, useTensor.untyped_storage()
.