API Reference
Rustdoc
tenferro is the main user-facing crate. See the Rustdoc API documentation.
For contributors, internal crate APIs are also available in the full workspace Rustdoc index.
Workspace Crates
- tenferro: user-facing facade for eager tensors, traced tensors, einsum, linalg, AD, and backend selection
- tenferro-tensor: dense runtime tensors, backend traits, CPU backend, and internal CUDA backend integration
- tenferro-einsum: subscripts, contraction planning, and lowering helpers
- tenferro-ops: graph op vocabulary and AD rule implementations
- tenferro-device: shared device and error infrastructure
- tenferro-cubecl: internal CubeCL kernel crate used by the CUDA backend
- tenferro-extension-macros: procedural macros for extension-op registration
Architecture Summary
tenferro-device
|
tenferro-tensor -- dense runtime tensors, TensorBackend, CpuBackend
|
tenferro-ops -- StdTensorOp, ExtensionOp boundary, PrimitiveOp rules
|
tenferro-einsum -- subscripts + contraction planning + fragment builder
|
tenferro -- Engine, TracedTensor, lowering, execution, public APIs
tenferro-cubecl -- internal CUDA kernel definitions
tenferro-extension-macros -- extension-op registration macros