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
5f85692f
There was a problem fetching the pipeline summary.
Commit
5f85692f
authored
7 years ago
by
Philipp Arras
Browse files
Options
Downloads
Patches
Plain Diff
Docu
parent
992bd8b6
No related branches found
No related tags found
2 merge requests
!265
WIP: Even more fun with linear operators
,
!263
WIP: Draw sample2
Pipeline
#
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
nifty4/models/model.py
+2
-2
2 additions, 2 deletions
nifty4/models/model.py
with
2 additions
and
2 deletions
nifty4/models/model.py
+
2
−
2
View file @
5f85692f
...
...
@@ -60,7 +60,7 @@ class Mul(Model):
"""
Please note: If you multiply two operators which share some keys in the
position but have different values there, it is not guaranteed which value
will be used for the
sum. You shouldn
'
t do that anyways
.
will be used for the
product
.
"""
def
__init__
(
self
,
position
,
op1
,
op2
):
super
(
Mul
,
self
).
__init__
(
position
)
...
...
@@ -85,7 +85,7 @@ class Add(Model):
"""
Please note: If you add two operators which share some keys in the position
but have different values there, it is not guaranteed which value will be
used for the sum.
You shouldn
'
t do that anyways.
used for the sum.
"""
def
__init__
(
self
,
position
,
op1
,
op2
):
super
(
Add
,
self
).
__init__
(
position
)
...
...
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