Rate this Page

torch.Tensor.storage#

Tensor.storage()torch.TypedStorage[source]#

Returns the underlyingTypedStorage.

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().