Skip to content

[AutoDiff upstream] Upstream _Differentiation APIs. #30926

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 2 commits into from
Apr 9, 2020

Conversation

dan-zheng
Copy link
Contributor

Add Differentiable.zeroTangentVectorInitializer protocol requirement and
Differentiable.zeroTangentVector default implementation.

Add AnyDerivative, a type-erased wrapper for Differentiable.TangentVector
associated type implementations.

Resolves TF-843.

Add `Differentiable.zeroTangentVectorInitializer` protocol requirement and
`Differentiable.zeroTangentVector` default implementation.
Add `AnyDerivative`, a type-erased wrapper for `Differentiable.TangentVector`
associated type implementations.
@dan-zheng dan-zheng requested review from marcrasi and rxwei April 9, 2020 19:00
@dan-zheng
Copy link
Contributor Author

@swift-ci Please test

@dan-zheng dan-zheng merged commit 109e808 into swiftlang:master Apr 9, 2020
@dan-zheng dan-zheng deleted the autodiff-stdlib branch April 9, 2020 21:08
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