Does torch.index_select support the input index is 2-dimension?

Does torch.index_select support the input index is 2-dimension?