Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NIFTy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ift
NIFTy
Commits
c15669d0
Commit
c15669d0
authored
7 years ago
by
Martin Reinecke
Browse files
Options
Downloads
Plain Diff
Merge branch 'operator_documentation' into 'NIFTy_5'
Operator documentation See merge request ift/nifty-dev!34
parents
84625c98
a0bb1803
Branches
master
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
nifty5/models/constant.py
+2
-2
2 additions, 2 deletions
nifty5/models/constant.py
nifty5/operators/operator_adapter.py
+18
-1
18 additions, 1 deletion
nifty5/operators/operator_adapter.py
with
20 additions
and
3 deletions
nifty5/models/constant.py
+
2
−
2
View file @
c15669d0
...
@@ -28,8 +28,8 @@ class Constant(Model):
...
@@ -28,8 +28,8 @@ class Constant(Model):
constant : Field
constant : Field
The value of the model.
The value of the model.
Note
Note
s
----
----
-
Since there is no model-function associated:
Since there is no model-function associated:
- Position has no influence on value.
- Position has no influence on value.
- There is no gradient.
- There is no gradient.
...
...
This diff is collapsed.
Click to expand it.
nifty5/operators/operator_adapter.py
+
18
−
1
View file @
c15669d0
...
@@ -21,7 +21,24 @@ import numpy as np
...
@@ -21,7 +21,24 @@ import numpy as np
class
OperatorAdapter
(
LinearOperator
):
class
OperatorAdapter
(
LinearOperator
):
"""
Class representing the inverse and/or adjoint of another operator.
"""
"""
Class representing the inverse and/or adjoint of another operator.
Objects of this class are created internally by `LinearOperator` whenever
the inverse and/or adjoint of an already existing operator object is
requested via the `LinearOperator` attributes `inverse`, `adjoint` or
`_flip_modes()`.
Users should never have to create instances of this class directly.
Parameters
----------
op : LinearOperator
The operator on which the adapter will act
op_transform : int
1) adjoint
2) inverse
3) adjoint inverse
"""
def
__init__
(
self
,
op
,
op_transform
):
def
__init__
(
self
,
op
,
op_transform
):
super
(
OperatorAdapter
,
self
).
__init__
()
super
(
OperatorAdapter
,
self
).
__init__
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment