Skip to content

Commit

Permalink
auto updates (Project-MONAI#7577)
Browse files Browse the repository at this point in the history
Signed-off-by: monai-bot <monai.miccai2019@gmail.com>

Signed-off-by: monai-bot <monai.miccai2019@gmail.com>
Signed-off-by: Yu0610 <612410030@alum.ccu.edu.tw>
  • Loading branch information
monai-bot authored and Yu0610 committed Apr 11, 2024
1 parent 1b723c8 commit 251e60f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_conjugate_gradient.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@


class TestConjugateGradient(unittest.TestCase):

def test_real_valued_inverse(self):
"""Test ConjugateGradient with real-valued input: when the input is real
value, the output should be the inverse of the matrix."""
Expand Down
1 change: 1 addition & 0 deletions tests/test_sure_loss.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@


class TestSURELoss(unittest.TestCase):

def test_real_value(self):
"""Test SURELoss with real-valued input: when the input is real value, the loss should be 0.0."""
sure_loss_real = SURELoss(perturb_noise=torch.zeros(2, 1, 128, 128), eps=0.1)
Expand Down

0 comments on commit 251e60f

Please sign in to comment.