Skip to content

Add libSyntax support for #chainableGradient. #18255

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 7 commits into from
Jul 27, 2018

Conversation

rxwei
Copy link
Contributor

@rxwei rxwei commented Jul 26, 2018

As a follow-up on #18250, this patch adds libSyntax support and fixes the naming in syntax nodes for reverse-mode differential operators.

Also rename GradientExpr to ReverseAutoDiffExpr in syntax nodes, since it is supposed to generalize the C++ class swift::ReverseAutoDiffExpr instead of its subclass swift::GradientExpr.

@rxwei rxwei requested a review from dan-zheng July 26, 2018 10:56
@rxwei
Copy link
Contributor Author

rxwei commented Jul 26, 2018

@swift-ci please test tensorflow

@rxwei
Copy link
Contributor Author

rxwei commented Jul 26, 2018

@swift-ci please test tensorflow

3 similar comments
@rxwei
Copy link
Contributor Author

rxwei commented Jul 26, 2018

@swift-ci please test tensorflow

@rxwei
Copy link
Contributor Author

rxwei commented Jul 26, 2018

@swift-ci please test tensorflow

@rxwei
Copy link
Contributor Author

rxwei commented Jul 26, 2018

@swift-ci please test tensorflow

traits=['Parenthesized'],
children=[
Child('Identifier', kind='Token',
token_choices=[
'PoundGradientToken',
'ChainableGradientToken',
Copy link
Contributor

Choose a reason for hiding this comment

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

Do you mean PoundChainableGradientToken?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Aha. Good catch.

@rxwei
Copy link
Contributor Author

rxwei commented Jul 26, 2018

@swift-ci please test tensorflow

@dan-zheng
Copy link
Contributor

@swift-ci Please test tensorflow

@rxwei
Copy link
Contributor Author

rxwei commented Jul 27, 2018

@swift-ci please test tensorflow

2 similar comments
@rxwei
Copy link
Contributor Author

rxwei commented Jul 27, 2018

@swift-ci please test tensorflow

@rxwei
Copy link
Contributor Author

rxwei commented Jul 27, 2018

@swift-ci please test tensorflow

@rxwei rxwei merged commit 7731c0e into swiftlang:tensorflow Jul 27, 2018
@rxwei rxwei deleted the diffop-libsyntax branch July 27, 2018 05:17
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