AssertEqual now checks tensors dtype (#34154)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/34154
Temporary replacing with `assertEqualIgnoreType` all cases when `AssertEqual` fails.
Test Plan: Imported from OSS
Differential Revision: D20251131
Pulled By: VitalyFedyunin
fbshipit-source-id: fa69c6e2b3a7963912af5b0fa42bec9eded323d3