Hi
So I’m pretty new to pytorch and have converted a lot of numpy code over without problem.  However, it seems that indexed subtraction doesn’t work in the intuitive way it works on numpy.  So this operation where I broadcast some indexes over array1 and subtract arrray2
array1[np.arange(3)][np.arange(10)+np.arange(5,10,1)] -= array2
Does not change array1.
What am doing wrong?  Or is this not possible currently in pytorch?
Thanks!