Skip to content

Commit 5ce83b1

Browse files
committed
use assert_close
1 parent 160e047 commit 5ce83b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_transforms_v2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4089,7 +4089,7 @@ def test_functional_image_correctness(self, dimensions, kernel_size, sigma, dtyp
40894089
actual = F.cvcuda_to_tensor(actual)
40904090
actual = actual.squeeze(0).to(device=device)
40914091

4092-
torch.testing.assert_close(actual, expected, rtol=0, atol=1)
4092+
assert_close(actual, expected, rtol=0, atol=1)
40934093

40944094

40954095
class TestGaussianNoise:

0 commit comments

Comments
 (0)