Package-level declarations
Types
Constant folding optimization pass
Policy governing how a constant tensor (a weight, a bias, a frozen parameter) is materialized into the emitted StableHLO text.
Context object for maintaining state during StableHLO conversion.
Result of an operation conversion
Dead code elimination pass
Reference to a weight tensor that has been lifted out of the emitted StableHLO text and moved behind an util.global.load reference. The converter produces these; a downstream packager consumes them to write an IREE parameter archive (.irpa).
Validator for MLIR syntax and semantic correctness.
Operation fusion optimization pass
Interface for optimization passes
Statistics about the operation registry
Main converter class that orchestrates the conversion process from ComputeGraph to StableHLO MLIR.
Factory for creating StableHLO converters with default configurations.
Represents a StableHLO MLIR module text output
Interface for converting specific operations to StableHLO format.
Registry for StableHLO operation converters.
Optimizer for StableHLO MLIR modules.
Handles type system mapping between SKaiNET and MLIR types.
Functions
Returns an InputStream over the MLIR content encoded as UTF-8.
Export a ComputeGraph into a minimal StableHLO MLIR module text.
Legacy implementation for backward compatibility.