-stablehlo-legalize-to-linalg

Legalize StableHLO to LinAlg

Options

-enable-primitive-ops : Lower to primitive Linalg ops (map, reduce and transpose) when possible, instead of linalg.generic
-enable-sparse-ops : Lower to Sparse Tensor ops (sparse_tensor.concatenate)when possible, instead of linalg.generic
-capture-scalar-inputs : Capture scalar inputs in generic ops instead ofpassing as tensor-scalar argument.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月18日 UTC.