-
Notifications
You must be signed in to change notification settings - Fork 17
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
Fix bugs in loss
module
#255
Conversation
Codecov Report
@@ Coverage Diff @@
## main #255 +/- ##
=======================================
Coverage 93.76% 93.76%
=======================================
Files 49 49
Lines 3513 3513
=======================================
Hits 3294 3294
Misses 219 219
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These changes look fine, but I don't see any changes to the linop
module, which is at odds with the name of the PR. Is something missing here?
You're right. The change affected linop initialization, but was actually in the |
scico/loss.py
Outdated
@@ -58,7 +58,8 @@ def __init__( | |||
Args: | |||
y: Measurement. | |||
A: Forward operator. Defaults to ``None``, in which case | |||
`self.A` is a :class:`.Identity`. | |||
``self.A`` is a :class:`.Identity` with input shape |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Backticks in self.A should be reverted I believe
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Fix some bugs/oversights in initialization of linear operators.