Skip to content

Commit 0019e9f

Browse files
committed
use assert_close
1 parent 01f9188 commit 0019e9f

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
@@ -4036,7 +4036,7 @@ def test_functional_image_correctness(self, dimensions, kernel_size, sigma, dtyp
40364036
actual = F.cvcuda_to_tensor(actual)
40374037
actual = actual.squeeze(0).to(device=device)
40384038

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

40414041

40424042
class TestGaussianNoise:

0 commit comments

Comments
 (0)