How to check if two Torch tensors or matrices are equal?
snippet in lua

How to check if two Torch tensors or matrices are equal?

user8822

torch.equal(tensorA, tensorB)