Skip to main content

Module tensor

Module tensor 

Source

Structs§

ContiguousStorageIndices
DimCoordinates
DimNCoordinates
Layout
Shape
Tensor
The reference-counted tensor handle. Cheap to clone (bumps an Arc).
TensorId
Unique, monotonically increasing tensor identity. Used as a map key during autograd (a tensor’s storage/layout may change, but its id never does).
TensorImpl
UncontiguousStorageIndices

Enums§

D
StorageIndices
StorageIndices

Traits§

Dim
Dims

Functions§

dims0
dims1
dims2
dims3
dims4
dims5

Type Aliases§

BoolTensor
FloatTensor
IntTensor