Hi,
Suppose I have a tensor t of shape [4,4,4,4], and I want to set t[1,1,1,1] = 1. But the full index is actually a dynamically computed list v, where v=[1,1,1,1].
t[v] = 1 doesn’t seem to work.
Is there an easy way?
Thanks!