Skip to content

Latest commit

 

History

History
87 lines (69 loc) · 1.64 KB

storage.rst

File metadata and controls

87 lines (69 loc) · 1.64 KB

torch.Storage

A :class:`torch.Storage` is a contiguous, one-dimensional array of a single data type.

Every :class:`torch.Tensor` has a corresponding storage of the same data type.

.. autoclass:: torch.DoubleStorage
   :members:
   :undoc-members:
   :inherited-members:

.. autoclass:: torch.FloatStorage
   :members:
   :undoc-members:
   :inherited-members:

.. autoclass:: torch.HalfStorage
   :members:
   :undoc-members:
   :inherited-members:

.. autoclass:: torch.LongStorage
   :members:
   :undoc-members:
   :inherited-members:

.. autoclass:: torch.IntStorage
   :members:
   :undoc-members:
   :inherited-members:

.. autoclass:: torch.ShortStorage
   :members:
   :undoc-members:
   :inherited-members:

.. autoclass:: torch.CharStorage
   :members:
   :undoc-members:
   :inherited-members:

.. autoclass:: torch.ByteStorage
   :members:
   :undoc-members:
   :inherited-members:

.. autoclass:: torch.BoolStorage
   :members:
   :undoc-members:
   :inherited-members:

.. autoclass:: torch.BFloat16Storage
   :members:
   :undoc-members:
   :inherited-members:

.. autoclass:: torch.ComplexDoubleStorage
   :members:
   :undoc-members:
   :inherited-members:

.. autoclass:: torch.ComplexFloatStorage
   :members:
   :undoc-members:
   :inherited-members:

.. autoclass:: torch.QUInt8Storage
   :members:
   :undoc-members:
   :inherited-members:

.. autoclass:: torch.QInt8Storage
   :members:
   :undoc-members:
   :inherited-members:

.. autoclass:: torch.QInt32Storage
   :members:
   :undoc-members:
   :inherited-members:

.. autoclass:: torch.QUInt4x2Storage
   :members:
   :undoc-members:
   :inherited-members: