[CPU] torch.gather for complex dtypes (#36430)
Summary:
This PR resolves https://github.com/pytorch/pytorch/issues/36340 .
Pull Request resolved: https://github.com/pytorch/pytorch/pull/36430
Differential Revision: D21662139
Pulled By: anjali411
fbshipit-source-id: 361d064c1144b368afae3059c19f77abe26080a3