-
Notifications
You must be signed in to change notification settings - Fork 10.6k
[AutoDiff] [API] Rewrite adjoints with VJPs. #21740
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[AutoDiff] [API] Rewrite adjoints with VJPs. #21740
Conversation
afc2063
to
414a554
Compare
I believe @swift-ci Please test tensorflow |
d8e40da
to
dc4598a
Compare
@swift-ci Please clean test tensorflow |
However, @rxwei Shall we temporarily disable the test in GPE mode (and file a bug) and enable the test in dynamic compilation mode to unblock the stdlib revamp and model development? EDIT: Never mind, there are also other |
dc4598a
to
2678306
Compare
Rewrite all `@differentiable(adjoint: ...)` usages with `@differentiable(vjp: ...)` in the stdlib, including `core` and `TensorFlow`. Add `logSoftmax` differentiation runtime test.
2678306
to
ed7338c
Compare
Use VJP instead of adjoint.
@swift-ci Please test tensorflow |
Rewrite all
@differentiable(adjoint: ...)
usages with@differentiable(vjp: ...)
in the stdlib, including
core
andTensorFlow
.Add
logSoftmax
differentiation runtime test.