torch.Tensor.storage
- Tensor.storage() → torch.TypedStorage
Returns the underlying
TypedStorage.
Returns the underlying TypedStorage.
TypedStorage is deprecated. It will be removed in the future, and
UntypedStorage will be the only storage class. To access the
UntypedStorage directly, use Tensor.untyped_storage().