Hello.
I would like to do this operation below without the pythonic for loop in plain pytorch. How do I go about?
torch.stack([v[f] for v,f in zip(verts_padded, faces_padded)])

Where, verts_padded is of shape (B, N, 3) faces_padded is of shape (B,M,3).
I see a related question from 3yrs ago but unanswered : Indexing 3D Tensor using 3D Index - #2 by HuynhLam 1
Thank you