Hi @Natasha_667 ,
If you don’t absolutely need these operations to be in-place, this should work:
B = A.clone()
for i, j, k in zip(X, Y, Z):
    B[:, i, j] = A[:, i, j] + k

or this what you are referring to when you say “I’ve tried .clone()”?