Skip to content
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] Clean up. #27718

Merged
merged 1 commit into from
Oct 17, 2019
Merged

Conversation

dan-zheng
Copy link
Contributor

  • Store AutoDiffConfig in SILDifferentiabilityWitness instead of storing
    the individual components. This makes it cheaper to get an AutoDiffConfig.
  • Unify parsing logic and diagnostics.
  • Minor style changes.

@dan-zheng dan-zheng added the tensorflow This is for "tensorflow" branch PRs. label Oct 16, 2019
@dan-zheng dan-zheng requested a review from rxwei October 16, 2019 07:40
@dan-zheng
Copy link
Contributor Author

dan-zheng commented Oct 16, 2019

Please hold off on review, more SIL parser changes are coming (code deduplication and necessary changes for #27719).

EDIT: SIL parser changes done.

- Store `AutoDiffConfig` in `SILDifferentiabilityWitness` instead of storing
  the individual components. This makes it cheaper to get an `AutoDiffConfig`.
- Unify parsing logic and diagnostics.
- Minor style changes.
@dan-zheng
Copy link
Contributor Author

@swift-ci Please test tensorflow

1 similar comment
@dan-zheng
Copy link
Contributor Author

@swift-ci Please test tensorflow

@dan-zheng
Copy link
Contributor Author

Merging to unblock progress.

@dan-zheng dan-zheng merged commit 92b0f22 into swiftlang:tensorflow Oct 17, 2019
@dan-zheng dan-zheng deleted the autodiff-cleanup branch October 17, 2019 01:37
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