Hi, thanks a lot. But do you understand why it behaves like this ? Since I am replacing the values in the store variable at the second call,  the ‘logical’ stuff would be to have the first branch of the autograd graph removed, am I wrong ?
If no, I have to call a detach_() by myself, right ?