Remove CriterionTest.test_cuda code for dtype None. (#45316)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/45316
It's never used.
Test Plan: Imported from OSS
Reviewed By: albanD
Differential Revision: D23919449
Pulled By: gchanan
fbshipit-source-id: f9aaeeabf3940389156bfc01bc3118d348ca4cf6