StableHloConverterFactory

Factory for creating StableHLO converters with default configurations.

This factory provides convenient methods for creating converters with commonly used operation converters and configurations.

Functions

Link copied to clipboard

Create a converter with basic operations support (add, matmul, relu)

Link copied to clipboard
fun createCustom(registry: StableHloOperationRegistry, typeMapper: TypeMapper = TypeMapper(), validator: MlirValidator? = MlirValidator()): StableHloConverter

Create a custom converter with the provided components

Link copied to clipboard

Create a converter with extended operations support

Link copied to clipboard

Create a converter without validation (for performance)