[Quant][devs] Removed check for is_quantized in dequantize_cpu_or_cuda (#71958)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/71958
This PR is part of a series of PRs addressing https://github.com/pytorch/pytorch/issues/54150,
related to using dispatcher for calls to quantized backends as opposed to if/else conditionals.
This particular PR isn't dispatcher related but does remove the extraneous torch check for a quant tensor
since the dispatcher already handles a quantized backend for this particular function
Differential Revision:
D33833765
D33833765
Test Plan: Imported from OSS
Reviewed By: ngimel
Pulled By: dzdang
fbshipit-source-id: c3bb531a5c09326bdf724b5185a19ea0a379bba7
(cherry picked from commit f053b8248f895446f6a9d352de4038df6c6d4b2d)