Expand description
Dynamic scalar compatibility wrapper built on rank-0 IdxTensor.
Structsยง
- AnyScalar
- Dynamic scalar compatibility wrapper for tensor4all-core.
This owns a rank-0
IdxTensorso that scalar values can participate in the same eager autodiff graph as tensors while preserving the existing dynamic scalar API shape. The infallible scalar constructors retain a tensor-initialization failure for later fallible tensor or AD operations. Infallible arithmetic also retains typed backend diagnostics and the tracked-state marker when an eager operation fails. - AnyScalar
Error - Error returned by eager-tensor
AnyScalaroperations (autodiff, conjugation, and complex composition).