Update tpose optimizations to handle broadcasted scalar. Cleanup code by splitting the two cases into different patterns.
Update tpose optimizations to handle broadcasted scalar. Cleanup code by splitting the two cases into different patterns.
