Property Storage
property Storage: ITensorStorage<'T>
The storage object that holds the data of this tensor.
Declaration
property Storage: ITensorStorage<'T> with get
Property Value
Type | Description |
---|---|
ITensorStorage<'T> | Storage object. |
Remarks
The storage object holds the actual data of the tensor. A storage object can be associated with one or more tensors, i.e. it can be shared between multiple tensors. Sharing occurs, for example, when a view into an existing tensor is created or the tensor is reshapred.
The actual type of the storage object depends on the device the data of the tensor is stored on.
For tensors stored in host memory the storage object type is TensorHostStorage<'T>.
For tensors stored on a CUDA GPU the storage object type is TensorCudaStorage<'T>.