Core transformations of the computational graph.
x + y
in LuminAIR, no computation happens immediately. Instead:
graph.gen_trace()
is executed.StwoCompiler
currently includes PrimitiveCompiler
. It maps primitive operators (e.g., Add
, Mul
) to their corresponding AIR components.
StwoCompiler
will include additional sub-compilers, such as FuseOpCompiler
, focuses on fusing multiple primitive operations into optimized composite operators.
GenericCompiler
applies general optimizations.MyCustomCompiler
implements user-defined transformations for a specific task.StwoCompiler
prepares the graph for proof generation using the Stwo prover.