Hello.
Sorry to disturb you again.
Indeed I am trying to make ransac algorithm as parallable as possible.
Specifically, suppose I have a 100-dimension vector, first I need to generate up to 1000 3-tuple-index variable, which can be done by multinomial as you said.
Then, I need to using every 3-tuple-index to gather number from the 100-dimension vector, which I think there should be some operation maybe called batch index, which means index a 100-dimension tensor with a 1000 * 3 tensor.
Although a intuitive solution is to expand the 100-dimension vector to 1000 * 100 shape, I think it would be more efficient to directly select from the original 100-dimension vector.
Is there any way to support this operation ?
Thanks.