Skip to content

[AutoDiff] Imply 'AdditiveArithmetic' generic constraints from '@differentiable(linear)' parameters or results. #28472

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
Nov 25, 2019

Conversation

rxwei
Copy link
Contributor

@rxwei rxwei commented Nov 25, 2019

Update GenericSignatureBuilder to match the behavior specified in the manifesto:
https://github.com/apple/swift/blob/master/docs/DifferentiableProgramming.md#implied-generic-constraints

Previously, #24896 added support for implied Differentiable constraints from @differentiable parameters or results.

…erentiable(linear)' parameters or results.

Update `GenericSignatureBuilder` to match the behavior specified in the manifesto:
https://github.com/apple/swift/blob/master/docs/DifferentiableProgramming.md#implied-generic-constraints

Previously, swiftlang#24896 added support for implied `Differentiable` constraints from `@differentiable` parameters or results.
@rxwei
Copy link
Contributor Author

rxwei commented Nov 25, 2019

@swift-ci please test tensorflow

@rxwei rxwei merged commit 0e8a67f into swiftlang:tensorflow Nov 25, 2019
@rxwei rxwei deleted the fix-linear-generic-constraints branch November 25, 2019 13:14
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.

1 participant