fix bug in assertNotEqual for int tensors (#25199)
Summary:
assertNotEqual was failing to detect differences in int tensors.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/25199
Differential Revision: D17112656
Pulled By: nairbv
fbshipit-source-id: 43e0e7da6d58eb1c837a508d462a748b2065bdd9