Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
rusty1s committed May 24, 2023
1 parent 81507de commit 9ff4d6a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/utils/test_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ def test_map_index():
src = torch.tensor([2, 0, 1, 0, 3])
index = torch.tensor([3, 2, 0, 1])

print(map_index(src, index))

out, mask = map_index(src, index)
assert out.tolist() == [1, 2, 3, 2, 0]
assert mask.tolist() == [True, True, True, True, True]
Expand Down

0 comments on commit 9ff4d6a

Please sign in to comment.