-
Notifications
You must be signed in to change notification settings - Fork 26.3k
C++ API Parity: functional::fold and Fold::pretty_print
#28732
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
Conversation
yf225
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jon-tow Thanks so much for your helping fixing Fold/Unfold and adding F::fold! :D I left some very minor comments.
de1ca38 to
1edceea
Compare
|
@yf225 Everything should be complete. Please let me know if you'd like me to address anything. :) |
facebook-github-bot
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@yf225 has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
yf225
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jon-tow Thanks so much for the awesome work! :D
Adds
torch::nn::functional::foldsupport and updatesFold::pretty_printin the C++ API for more thorough Python parity.Note: Small updates in source files to maintain consistency elsewhere.
Reviewer: @yf225