Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

auto updates #7577

Merged
merged 1 commit into from
Mar 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading