Added Squat Packing's rotate and sum operation and resolved type mismatch issues.
Added Squat Packing's rotate and sum operation and resolved type mismatch issues.
I commented out a buggy tensor_ext canonicalization, which makes some tests fail in order to get some squat packing tests to pass. @asraa's code will fix it, and this commit may change as a result.
@asraa do you know what the status of this PR is? It looks like it's useful additions (squat packing) that aren't in main right now, but there's clearly also some conflicts/issues?
Asra is out this week. I could try to cherry pick it and resolve the remaining issues, but with the holidays I'm not sure who on the Google side would be around to review.
This isn't urgent, so I'm happy to wait until Asra's back!
Pinging @asraa again on this :)
Asra is out until the new year. I don't think I'll have time to patch and finish this. It may just have to wait.
Superseeded by https://github.com/google/heir/pull/1269