Hi all,
I have two same-size 3D tensors, each one is populated with 4 possible values (0,1,2,3)
I want to compare these two tensors element-wise and return the total number of matches where both tensors had 0 in the same index, and the total number of matches where both tensors had 1 in the same index etc until the matching value is 3.
Any efficient way of doing this? Thank you!