[Quant][devs] Separated implementations for quantized & non-quantized tensors in empty_like (#71990)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/71990
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 separates the calls to quantized & non-quantized backends for empty_like
using a dispatcher.
Differential Revision:
D33845919
D33845919
Test Plan: Imported from OSS
Reviewed By: jerryzh168
Pulled By: dzdang
fbshipit-source-id: 52b4a0c0c3010c2c4e069ec354c31462e89a0cba
(cherry picked from commit f94e437609dbe9ec120304f154357ec6fe1f523b)