Skip to content

[AutoDiff upstream] Define AutoDiffConfig. #29099

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
Jan 10, 2020

Conversation

dan-zheng
Copy link
Contributor

@dan-zheng dan-zheng commented Jan 9, 2020

Define AutoDiffConfig: the configuration for a derivative function:

  • Parameter indices.
  • Result indices.
  • Derivative generic signature (optional).

Progress towards TF-828: upstream @differentiable attribute type-checking.
@differentiable attribute type-checking mega-patch: #29091


Tests exist on tensorflow branch and will be upstreamed later.
Currently, not enough code has been upstreamed for meaningful testing.

Define `AutoDiffConfig`: the configuration for a derivative function:
- Parameter indices.
- Result indices.
- Derivative generic signature (optional).

Progress towards TF-828: upstream `@differentiable` attribute type-checking.
@dan-zheng
Copy link
Contributor Author

@swift-ci Please smoke test

@dan-zheng dan-zheng merged commit fbfb67a into swiftlang:master Jan 10, 2020
@dan-zheng dan-zheng deleted the autodiff-upstream-config branch January 10, 2020 01:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants