Skip to content

Commit

Permalink
increase random tensor size (#243)
Browse files Browse the repository at this point in the history
Co-authored-by: Ainur Karimov <[email protected]>
  • Loading branch information
ainureg and Ainur Karimov authored Dec 12, 2024
1 parent f814256 commit 7c0d925
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/losses/providers/torch/test_segmentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def test_iou_batch():

def test__threshold():

x = torch.rand(2, 3)
x = torch.rand(10, 10)
out = _threshold(x, threshold=0.5)
assert torch.max(out) == 1
assert torch.min(out) == 0
Expand Down

0 comments on commit 7c0d925

Please sign in to comment.