Conversation
test/test_torch.py
Outdated
| val = torch.arange(0, 10) | ||
| self.assertEqual(reversed(val), torch.arange(9, -1, -1)) | ||
|
|
||
| val = torch.arange(0, 10).view(3, 3) |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
test/test_torch.py
Outdated
| self._test_flip(self, use_cuda=False) | ||
|
|
||
| def test_reversed(self): | ||
| val = torch.arange(1, 10) |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
facebook-github-bot
left a comment
There was a problem hiding this comment.
@ssnl has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
facebook-github-bot
left a comment
There was a problem hiding this comment.
@ssnl has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
|
Is this good to go? Sorry about the reminder. |
facebook-github-bot
left a comment
There was a problem hiding this comment.
@soumith is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
Summary: Closes pytorch#3376 Pull Request resolved: pytorch#9216 Differential Revision: D8753933 Pulled By: soumith fbshipit-source-id: 5dac9b8b11ff34a205b6478db99b02fda8bd9cce
Closes #3376