Skip to content

Conversation

@rxwei
Copy link
Contributor

@rxwei rxwei commented Jan 28, 2019

The primal value struct should not be retained before the partial application of the pullback because it's already +1 and owned solely by the pullback. Original results should be retained because they are separately returned along with the pullback.

Resolves SR-9665.

The primal value struct should not be retained before the partial application of the pullback because it's already `+1` and owned solely by the pullback. Original results should be retained because they are separately returned along with the pullback.
@rxwei rxwei added the tensorflow This is for "tensorflow" branch PRs. label Jan 28, 2019
@rxwei rxwei requested a review from jekbradbury January 28, 2019 11:09
@rxwei
Copy link
Contributor Author

rxwei commented Jan 28, 2019

@swift-ci please test tensorflow

@rxwei rxwei merged commit 09a71cc into swiftlang:tensorflow Jan 28, 2019
@rxwei rxwei deleted the ad-fix-memory-leaks branch January 28, 2019 11:50
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.

1 participant