Add support for slice, selec twith int, index_select (#63365)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/63365
Test Plan: Imported from OSS
Reviewed By: driazati
Differential Revision: D30738144
Pulled By: eellison
fbshipit-source-id: 7e0c572209bdc6e62ecb4fd1f06f80291de69803