Skip to content

Commit

Permalink
[FBcode->GH] Add check_stride=False (#3920)
Browse files Browse the repository at this point in the history
  • Loading branch information
datumbox authored May 26, 2021
1 parent f584309 commit 48de528
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -834,7 +834,7 @@ def test_accimage_pil_to_tensor(self):
output = trans(accimage.Image(GRACE_HOPPER))

self.assertEqual(expected_output.size(), output.size())
torch.testing.assert_close(output, expected_output)
torch.testing.assert_close(output, expected_output, check_stride=False)

@unittest.skipIf(accimage is None, 'accimage not available')
def test_accimage_resize(self):
Expand Down

0 comments on commit 48de528

Please sign in to comment.