Skip to main content

Cast.h File

Cast Node — CVU kernel that converts between FP32 and BF16 element-wise. More...

Included Headers

#include "builder/Node.h" #include "builder/NodeContractConfigurable.h" #include "builder/NodeContractProvider.h" #include "builder/OutputSpec.h" #include <memory> #include <string> #include <vector>

Namespaces Index

namespacesimaai
namespaceneat
namespacenodes

Classes Index

structCastOptions

Construction options for a Cast Node. More...

classCast

CVU kernel Node that casts a tensor between FP32 and BF16 (no scale/zero-point). More...

Description

Cast Node — CVU kernel that converts between FP32 and BF16 element-wise.

Pure dtype conversion with no scale/zero-point — distinct from Quant/Dequant. Inserted at the MLA boundary on the BF16 path: before the MLA when the model expects BF16 input but the upstream stage emits FP32, or after the MLA on the BF16 output path.

See Also

"The dtype contract" page in /concepts/dtype_contract


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.