You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 17, 2023. It is now read-only.
Assuming I have a data tensor X and indices tensor Y: X has a shape (batch, N, 3) and Y has a shape (batch, 1, M), I hope there is a new operation can do batch-wise gather_nd and scatter_nd using the index within the batch and gather the data to new tensor (batch, M, 3)
Implementation
Forwarding...
gathered = []
for i in range(X.shape[0]):
gathered.append(nd.gather_nd(X[i], Y[i]))
return nd.concat(*gathered)
``