Skip to content

Conversation

@yf225
Copy link
Contributor

@yf225 yf225 commented Sep 20, 2019

C++ nn::Distance tests can take advantage of the newly released multi-dimensional tensor constructor #26210 to simplify the tensor constructions.

@pytorchbot pytorchbot added the module: cpp Related to C++ API label Sep 20, 2019
@yf225
Copy link
Contributor Author

yf225 commented Sep 20, 2019

@jon-tow Would you like to review this PR? Thanks!

@jon-tow
Copy link
Contributor

jon-tow commented Sep 20, 2019

@yf225 I didn't realize the toch::tensor constructor got merged! The tests look much better now. Thanks for cleaning it up :).

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a 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.

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a 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.

@facebook-github-bot
Copy link
Contributor

@yf225 merged this pull request in da8fbe5.

mingbowan pushed a commit to mingbowan/pytorch that referenced this pull request Sep 23, 2019
Summary:
C++ `nn::Distance` tests can take advantage of the newly released multi-dimensional tensor constructor pytorch#26210 to simplify the tensor constructions.
Pull Request resolved: pytorch#26539

Differential Revision: D17501041

Pulled By: yf225

fbshipit-source-id: 21d5f95ab3ec02227115c823c581218cee2ce458
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Merged module: cpp Related to C++ API

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants