swift
0ba886d4
- [AutoDiff] Fix adjoint for `move_value` (#78286)
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
Commit
298 days ago
[AutoDiff] Fix adjoint for `move_value` (#78286) Since `move_value` is a destroying operation, the adjoint of `y = move_value x` should be `adj[x] += adj[y]; adj[y] = 0` instead of just `adj[x] += adj[y]`.
References
#78286 - [AutoDiff] Fix adjoint for `move_value`
Author
kovdan01
Parents
26b2f7bb
Loading