Skip to content

[AutoDiff] Require [parameters ...] for `{differentiable,linear}_fu… #29015

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

Conversation

dan-zheng
Copy link
Contributor

…nction`.

Make the [parameters ...] argument always required in the textual
representation for {differentiable,linear}_function instructions, instead of
defaulting to all parameter indices when unspecified..

This makes the textual representation consistent with other [parameters ...]
arguments in SIL:

  • differentiability_witness_function
  • differentiability_witness

…nction`.

Make the `[parameters ...]` argument always required in the textual
representation for `{differentiable,linear}_function` instructions, instead of
defaulting to all parameter indices when unspecified..

This makes the textual representation consistent with other `[parameters ...]`
arguments in SIL:
- `differentiability_witness_function`
- `differentiability_witness`
@dan-zheng dan-zheng added the tensorflow This is for "tensorflow" branch PRs. label Jan 6, 2020
@dan-zheng dan-zheng requested a review from rxwei January 6, 2020 04:52
@dan-zheng
Copy link
Contributor Author

@swift-ci Please test tensorflow

`parseIndexSet` -> `parseIndexList`
@dan-zheng dan-zheng requested a review from rxwei January 6, 2020 06:11
@dan-zheng
Copy link
Contributor Author

@swift-ci Please test tensorflow

@dan-zheng dan-zheng merged commit c23afc8 into swiftlang:tensorflow Jan 6, 2020
@dan-zheng dan-zheng deleted the autodiff-sil-explicit-parameters branch January 6, 2020 17:03
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