TensorConversion.h File
Tensor conversion vocabulary, policies, and tracing. More...
Included Headers
Namespaces Index
| namespace | simaai |
| namespace | neat |
Classes Index
| struct | ConversionCost |
|
Cost estimate for a conversion: bytes moved + a coarse compute-class bucket (low/med/high). More... | |
| struct | ConversionTrace |
|
Single audit-log entry for a conversion that occurred. More... | |
| struct | ConversionTraceCollector |
|
Collects ConversionTrace entries for post-mortem auditing of a pipeline run. More... | |
Description
Tensor conversion vocabulary, policies, and tracing.
When a tensor needs to change form mid-pipeline (different dtype, layout, device, or memory layout), the framework classifies the change as one of five ConversionKinds and applies the configured ConversionPolicy to decide whether to allow it silently, allow it but record a trace entry, or refuse it. Used by validation, by the planner when inserting adapter stages, and by tools that audit pipeline conversions.
File Listing
The file content with the documentation metadata removed is:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.