Skip to main content

Module types

Module types 

Source

Structs§

BufferHandle
Backend-owned buffer handle.
DeviceId
Concrete compute device identifier.
DynRank
Dynamic tensor rank marker.
Placement
Placement metadata for a tensor buffer.
Rank
Static tensor rank marker.
StridedSliceSpec
One-axis slice specification for typed view slicing.
TensorLayout
Storage-neutral tensor layout metadata.
TensorOwnedView
Owned lazy tensor view over a shared base tensor.
TypedTensor
Runtime typed tensor storage with compile-time scalar type and rank metadata.
TypedTensorView
Read-only borrowed view of typed tensor storage with arbitrary strides.
TypedTensorViewMut
Mutable borrowed view of typed tensor storage with arbitrary strides.

Enums§

Buffer
Tensor storage.
DType
Runtime scalar dtype tag.
DeviceKind
Compute device family.
GpuBackendKind
GPU backend family used by placement metadata.
MemoryKind
Memory location for tensor storage.
Tensor
Dynamic tensor enum over the supported scalar types.
TensorBufferRef
Borrowed tensor buffer reference used by read-only typed views.
TensorBufferRefMut
Borrowed tensor buffer reference used by mutable typed views.
TensorRead
Read-only tensor input accepted by synchronous eager kernels.
TensorValue
Owned tensor value that can be compact or a lazy view.
TensorView
Dynamic read-only borrowed tensor view.

Traits§

BackendBuffer
Opaque backend-owned tensor buffer.
TensorRank
Rank contract for tensor metadata shapes and strides.
TensorScalar
Sealed trait for scalar types that can be stored in a Tensor.

Functions§

col_major_strides
Column-major strides derived from a shape.