Expand description
Internal implementation crate. Not a stable public API.
tenferro now treats tidu::Value<DynTensor> as the only source of truth
for reverse-mode metadata. This crate provides the thin dynamic tensor
façade and surface-level grad/backward helpers built on top of that
carrier.
Re-exports§
pub use core::dynamic::EigResult;pub use core::dynamic::EighResult;pub use core::dynamic::LstsqResult;pub use core::dynamic::LuResult;pub use core::dynamic::QrResult;pub use core::dynamic::SlogdetResult;pub use core::dynamic::SvdResult;pub use core::dynamic::Tensor;pub use jvp::jvp;pub use jvp::JvpResult;
Modules§
Structs§
- AdExecution
Policy - Backward
Options - Cholesky
ExResult - Structured Cholesky result with numerical status information.
- Default
Runtime Guard - Guard returned by
set_default_runtime. - Grad
Options - InvEx
Result - Structured inverse result with numerical status information.
- LuFactor
ExResult - Packed LU factorization result with numerical status information.
- LuFactor
Result - Packed LU factorization result.
- NodeId
- Stable identifier of an AD graph node.
- Schema
- Runtime schema for op inputs or outputs.
- Slot
Schema - AD-role metadata for one input or output slot.
- Solve
ExResult - Structured solve result with numerical status information.
- Structured
Tensor - AD-capable structured tensor wrapper shared by dynamic tenferro frontends.
- SvdOptions
- Options for truncated SVD.
- Value
- Public value handle for reverse-mode AD.
Enums§
- Autodiff
Error - AD-specific error type.
- Checkpoint
Hint - Public hint used by
crate::LinearizableOp::checkpoint_hintto guide retain-vs-replay policy decisions. - Checkpoint
Mode - Compute
Device - Compute device that can execute tensor operations.
- DynTensor
- Runtime tensor wrapper for a fixed supported dtype set.
- Error
- Shared error type for dynamic
tenferrosurface crates. - Logical
Memory Space - Logical memory space where tensor data resides.
- LuPivot
- Pivoting strategy for LU decomposition.
- Matrix
Norm Ord - Matrix norm order for [
crate::matrix_norm]-style public surfaces. - Memory
Order - Memory ordering for new allocations.
- Norm
Kind - Norm kind for [
crate::norm]. - Runtime
Context - Runtime execution context used by builder
.run()entry points. - Scalar
Type - Runtime scalar type tag used by dynamic tensor wrappers.
- Scalar
Value - Dynamic scalar value extracted from a rank-0 dynamic tensor.
- Vector
Norm Ord - Vector norm order for [
crate::vector_norm]-style public surfaces.
Traits§
Functions§
- backward
- grad
- set_
default_ runtime - Sets the default runtime context for builder
.run(). - with_
ad_ policy - with_
default_ runtime - Runs
fwith the default runtime context. - with_
runtime - Runs
fwith an explicitly supplied runtime installed for the duration of the closure.