Replacing assertEqual with assertEqualIgnoreType wherever types missmatch (#38102)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/38102
Test Plan: Imported from OSS
Differential Revision: D21477060
Pulled By: VitalyFedyunin
fbshipit-source-id: 25e0fd837ca9bfccf0ce994c80f7790c894096d4