Improve the performance of ParseShapeStringInternal
The previous implementation recompiled the shape regex at every call what is an expensive opertaion. The new implementation improves the hlo text parsing time for very large models for up to 9x by eliminating this overhead. PiperOrigin-RevId: 202454354
Loading
Please sign in to comment