Hi Joshua,
how are you comparing the two results and how do you tell that “you see equal tensors”? The two tensors you see may differ very slightly. So instead of testing A == B, maybe try sth like norm(A - B) < thresh where thresh is very small, e.g. 1e-9.