Skip to content

Commit 7dfa691

Browse files
bottlerfacebook-github-bot
authored andcommitted
transform test fix
Summary: Indexing with a big matrix now fails with a ValueError, possibly because of pytorch improvements. Remove the testcase for it. Reviewed By: davidsonic Differential Revision: D42609741 fbshipit-source-id: 0a5a6632ed199cb942bfc4cc4ed347b72e491125
1 parent a7256e4 commit 7dfa691

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tests/test_transforms.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -464,9 +464,6 @@ def test_get_item(self, batch_size=5):
464464
for invalid_index in (
465465
torch.tensor([1, 0, 1], dtype=torch.float32, device=device), # float tensor
466466
1.2, # float index
467-
torch.tensor(
468-
[[1, 0, 1], [1, 0, 1]], dtype=torch.int32, device=device
469-
), # multidimensional tensor
470467
):
471468
with self.assertRaises(IndexError):
472469
t3d_selected = t3d[invalid_index]

0 commit comments

Comments
 (0)