torch.Tensor.storage
-
Tensor.storage() → torch.TypedStorage[исходный код] -
Возвращает базовое хранилище
TypedStorage.Предупреждение
TypedStorageустарело. Оно будет удалено в будущем, иUntypedStorageстанет единственным классом хранилища. Чтобы получить прямой доступ кUntypedStorage, используйтеTensor.untyped_storage().
© 2026, PyTorch Contributors
PyTorch has a BSD-style license, as found in the LICENSE file.
https://docs.pytorch.org/docs/2.14/generated/torch.Tensor.storage.html