Why does index_copy_() only take a LongTensor as indices? The out of place impl index_copy() (which is very poorly documented as it seems) takes int32 or int64. Is this an oversight in the API, or is it this way because of legacy code, or is it a bug?
https://pytorch.org/docs/stable/generated/torch.Tensor.index_copy.html#torch.Tensor.index_copy
https://pytorch.org/docs/stable/generated/torch.Tensor.index_copy_.html#torch.Tensor.index_copy_