ml_switcheroo.core.mlir.gen_expressions¶
Expression Generation Mixin for MLIR->Python.
Handles converting operation nodes (sw.op, sw.call) into CST Expressions.
Classes¶
Mixin for generating LibCST Expressions from MLIR Operations. |
Module Contents¶
- class ml_switcheroo.core.mlir.gen_expressions.ExpressionGeneratorMixin[source]¶
Bases:
ml_switcheroo.core.mlir.gen_base.BaseGeneratorMixinMixin for generating LibCST Expressions from MLIR Operations. Assumes self._resolve_operand is available on the host class.