Understand mark_dirty()
So I read the inline documentation about mark_dirty() here: I don’t quite understand what extra checks are needed for inplace operators. Would be great if the devs can give some hints. Thanks!
yzhu
If you are doing an in-place operation, and further operate on the original Tensor, the backward gradients might be wrong. Let’s take a small example:
smth
yzhu