Skip to content

tensorplay.types

Classes

class Storage [source]

python
Storage()
Methods

cpu(self) -> Self [source]


data_ptr(self) -> int [source]


element_size(self) -> int [source]


from_file(self, filename: str, shared: bool = False, byte: int = 0) -> Self [source]


is_shared(self) -> bool [source]


nbytes(self) -> int [source]


share_memory_(self) -> Self [source]


Released under the Apache 2.0 License.

📚DeepWiki