In am trying to understand how a operator works in pytorch - from the frontend to backend and I was tracing back the code for index operator.
There is this line:
and from here, the call goes to
and finally, we have
Here, I am not able to figure out how the arguments self and result gets packed into iter by using *this? What does the operator *this do here?