Skip to content

Commit 60661ae

Browse files
committed
temp test
Signed-off-by: Wenqi Li <[email protected]>
1 parent 40f9930 commit 60661ae

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/pythonapp.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
push:
66
branches:
77
- master
8+
- test-time
89
pull_request:
910

1011
jobs:

tests/test_activations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def test_value_shape(self, input_param, img, out, expected_shape):
7777
def test_monai_activations_value_shape(self, input_param, img, out, expected_shape):
7878
act = Act[input_param]()
7979
result = act(img)
80-
torch.testing.assert_allclose(result, out, rtol=1e-2, atol=1e-5)
80+
torch.testing.assert_allclose(result, out + 1, rtol=1e-2, atol=1e-5)
8181
self.assertTupleEqual(result.shape, expected_shape)
8282

8383

0 commit comments

Comments
 (0)