swift
0ba886d4 - [AutoDiff] Fix adjoint for `move_value` (#78286)

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]`.
Author
Parents
Loading