[Quant][devs] Separated implementations for quantized & non-quantized tensors in index_select_cpu_ (#71900)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/71900
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 index_select_cpu_
using a dispatcher.
Differential Revision:
D33809857
D33809857
Test Plan: Imported from OSS
Reviewed By: albanD
Pulled By: dzdang
fbshipit-source-id: 3792a139c3c98e3a22b29304eeef593a091cf928
(cherry picked from commit 88550e01b8ec25a641e8ca751cbef62064d71ac9)