Skip to main content

TensorConversion.h File

Tensor conversion vocabulary, policies, and tracing. More...

Included Headers

#include "pipeline/TensorCore.h" #include <cstdint> #include <string> #include <vector>

Namespaces Index

namespacesimaai
namespaceneat

Classes Index

structConversionCost

Cost estimate for a conversion: bytes moved + a coarse compute-class bucket (low/med/high). More...

structConversionTrace

Single audit-log entry for a conversion that occurred. More...

structConversionTraceCollector

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.


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.