Constant-fold GetDimensionSize ops in XLABuilder.
This CL implements constant-folding for GetDimensionSize ops if there is no dynamic dimension. - If the operand of GetDimensionSize is constant dimension, consider GetDimensionSize as constant. - Replace GetDimensionSize with a constant instruction in the constant subgraph for constant folding. PiperOrigin-RevId: 228938348
Loading
Please sign in to comment