Compute reshape permutation statically.
Aside from presumably being more efficient generally, this enables using the routines in this file inside of XLA. (which currently throws an error `Input 0 to InvertPermutation operator must be a compile-time constant.`) PiperOrigin-RevId: 228563007
Loading
Please sign in to comment