OptimizationExample

Example demonstrating the optimization framework capabilities.

This example shows how to use the StableHLO optimization passes to improve generated code through constant folding, dead code elimination, and operation fusion.

Functions

Link copied to clipboard

Demonstrates aggressive optimization with multiple passes

Link copied to clipboard

Demonstrates basic optimization usage

Link copied to clipboard

Demonstrates custom optimization pipeline

Link copied to clipboard

Demonstrates optimization benefits analysis