Skip to content

[AutoDiff] Fix aggregate adjoint value accumulation bug. #28477

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 3 commits into from
Nov 26, 2019

Conversation

bgogul
Copy link
Contributor

@bgogul bgogul commented Nov 25, 2019

The accumulateAdjointsDirect function was not taking into account the case where lhs is an Aggregate value and the rhs is a Concrete value. This PR fixes this issue.

The `accumulateAdjointsDirect` function was not taking into account the case
where `lhs` is an `Aggregate` value and the `rhs` is a `Concrete` value.
@bgogul
Copy link
Contributor Author

bgogul commented Nov 25, 2019

@swift-ci please test tensorflow

@bgogul bgogul requested a review from dan-zheng November 25, 2019 23:37
@dan-zheng dan-zheng requested review from rxwei and marcrasi November 26, 2019 00:23
Copy link
Contributor

@dan-zheng dan-zheng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great catch!

@bgogul
Copy link
Contributor Author

bgogul commented Nov 26, 2019

@swift-ci please test tensorflow

@dan-zheng
Copy link
Contributor

@swift-ci Please test tensorflow

@bgogul
Copy link
Contributor Author

bgogul commented Nov 26, 2019

@swift-ci please test tensorflow

2 similar comments
@rxwei
Copy link
Contributor

rxwei commented Nov 26, 2019

@swift-ci please test tensorflow

@rxwei
Copy link
Contributor

rxwei commented Nov 26, 2019

@swift-ci please test tensorflow

@dan-zheng dan-zheng changed the title Fix for TF-943 [AutoDiff] Fix aggregate adjoint value accumulation bug. Nov 26, 2019
@dan-zheng dan-zheng merged commit a946ec9 into swiftlang:tensorflow Nov 26, 2019
@bgogul bgogul deleted the tf943 branch November 26, 2019 17:29
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.

3 participants