Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
`trace(2*A) != 2*Trace(A)` because LHS still has an MatMul #9052
I guess the problem is that
Should we have trace check if its argument is a MatMul, and if the first argument of MatMul is a number, take that number times the trace of the rest? Then Trace would be returning a Mul instead of a Trace.