Skip to content

[AutoDiff] [SIL] Tweak 'differentiable_function' syntax. #27689

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

Merged
merged 1 commit into from
Oct 15, 2019

Conversation

rxwei
Copy link
Contributor

@rxwei rxwei commented Oct 15, 2019

In differentiable_function instruction's syntax, use parameters instead of wrt and 'with_derivative' instead of with. This is to align with linear_function instruction and the future direction that both parameter indices and result indices will be included in this instruction.

Note: with_derivative is not named with_derivatives because VJPs will be dropped from this instruction when we complete JVP + linear map transposition.

Resolves TF-909.

In `differentiable_function` instruction's syntax, use `parameters` instead of `wrt` and 'with_derivative' instead of `with`. This is to align with `linear_function` instruction and the future direction that both parameter indices and result indices will be included in this instruction.

Note: `with_derivative` is not named `with_derivatives` because VJPs will be dropped from this instruction when we complete JVP + linear map transposition.

Resolves [TF-909](https://bugs.swift.org/browse/TF-909).
@rxwei rxwei added the tensorflow This is for "tensorflow" branch PRs. label Oct 15, 2019
@rxwei rxwei requested a review from dan-zheng October 15, 2019 08:26
@rxwei
Copy link
Contributor Author

rxwei commented Oct 15, 2019

@swift-ci please test tensorflow

@rxwei
Copy link
Contributor Author

rxwei commented Oct 15, 2019

@swift-ci please test tensorflow

@rxwei rxwei merged commit bafacd8 into swiftlang:tensorflow Oct 15, 2019
@rxwei rxwei deleted the TF-909 branch October 15, 2019 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tensorflow This is for "tensorflow" branch PRs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants