Skip to content

[AutoDiff] Move dumpActivityInfo to DifferentiableActivityInfo class #28597

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
Dec 6, 2019

Conversation

bgogul
Copy link
Contributor

@bgogul bgogul commented Dec 5, 2019

Minor refactoring as part of https://bugs.swift.org/browse/TF-993

@bgogul bgogul force-pushed the dump_activity_info branch from f3f7af1 to 8908f15 Compare December 5, 2019 21:34
@bgogul bgogul force-pushed the dump_activity_info branch from 8908f15 to 0d62e3c Compare December 5, 2019 21:35
@bgogul
Copy link
Contributor Author

bgogul commented Dec 5, 2019

@swift-ci please test tensorflow

@bgogul bgogul requested review from dan-zheng and rxwei December 5, 2019 21:35
@bgogul
Copy link
Contributor Author

bgogul commented Dec 5, 2019

@swift-ci please test tensorflow

s << "] " << value;
}

void DifferentiableActivityInfo::dump(SILFunction &fn,
Copy link
Contributor

Choose a reason for hiding this comment

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

The function argument is unnecessary. getFunction() gives you the function.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch. Done!

@bgogul
Copy link
Contributor Author

bgogul commented Dec 5, 2019

@swift-ci please test tensorflow

@bgogul
Copy link
Contributor Author

bgogul commented Dec 6, 2019

Tests pass. I will go ahead and merge this in.

@bgogul bgogul merged commit f28cc66 into swiftlang:tensorflow Dec 6, 2019
@bgogul bgogul deleted the dump_activity_info branch December 6, 2019 00:13
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