Skip to content

Conversation

@rxwei
Copy link
Contributor

@rxwei rxwei commented Oct 14, 2019

Before DifferentiabilityKind was introduced, a function was either @differentiable or not @differentiable. DifferentiabilityKind added a third option: @differentiability(linear). SIL function type serialization did not care about the specific DifferentiabilityKind but just whether the function is differentiable -- it is now fixed in this patch.

Resolves TF-903.

… type serialization.

Before `DifferentiabilityKind` was introduced, a function was either `@differentiable` or not `@differentiable`. `DifferentiabilityKind` added a third option: `@differentiability(linear)`. SIL function type serialization did not care about the specific `DifferentiabilityKind` but just whether the function is differentiable -- it is now fixed in this patch.

Resolves [TF-903](https://bugs.swift.org/browse/TF-903).
@rxwei rxwei added the tensorflow This is for "tensorflow" branch PRs. label Oct 14, 2019
@rxwei rxwei requested a review from dan-zheng October 14, 2019 05:43
@rxwei
Copy link
Contributor Author

rxwei commented Oct 14, 2019

@swift-ci please test tensorflow

@rxwei rxwei merged commit 5e52226 into swiftlang:tensorflow Oct 14, 2019
@rxwei rxwei deleted the differentiability-kind-serialization branch October 14, 2019 06:22
rxwei added a commit to rxwei/swift that referenced this pull request Oct 14, 2019
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