Closed GiggleLiu closed 4 years ago
The following code has the simultaneous read-write issue
x += x * y
One can not revert this operation by using x -= x * y.
x -= x * y
The following code has the share write issue in the adjoint AD pass
y += x * x
Because, both x want to update its gradient field.
x
Fixed by a PR in NiLangCore.
The following code has the simultaneous read-write issue
One can not revert this operation by using
x -= x * y
.The following code has the share write issue in the adjoint AD pass
Because, both
x
want to update its gradient field.