RoundTripValidationExample

Example demonstrating round-trip validation capabilities for StableHLO conversion.

This example shows how to:

  1. Generate MLIR from a compute graph

  2. Validate the generated MLIR syntax and semantics

  3. Perform round-trip validation to ensure correctness

  4. Benchmark the conversion performance

Functions

Link copied to clipboard

Demonstrate MLIR parsing capabilities

Link copied to clipboard

Demonstrate performance benchmarking

Link copied to clipboard

Demonstrate comprehensive validation of StableHLO conversion