Primitive Operators
LuminAIR adopts a RISC-style architecture for its operators. LuminAIR supports a minimal set of 11 primitive operators. These operators are sufficient to implement a wide range of machine learning models, such as linear regression, convolutional networks, and transformers.| Operator | Status |
|---|---|
Log2 | ✅ |
Exp2 | ✅ |
Sin | ✅ |
Sqrt | ✅ |
Recip | ✅ |
Add | ✅ |
Mul | ✅ |
Mod | ✅ |
LessThan | ✅ |
SumReduce | ✅ |
MaxReduce | ✅ |
Contiguous | ✅ |
PrimitiveCompiler, a subset of the StwoCompiler.
Each operator is mapped to its corresponding AIR component during compilation, ensuring compatibility with the proof generation process.