Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
NIFTy
Commits
83a0b1f3
Commit
83a0b1f3
authored
Mar 13, 2018
by
Martin Reinecke
Browse files
remove dead code
parent
a6785e4a
Pipeline
#26033
passed with stages
in 5 minutes and 54 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nifty4/domain_tuple.py
View file @
83a0b1f3
...
...
@@ -40,9 +40,6 @@ class DomainTuple(object):
shape_tuple
=
tuple
(
sp
.
shape
for
sp
in
self
.
_dom
)
self
.
_shape
=
reduce
(
lambda
x
,
y
:
x
+
y
,
shape_tuple
,
())
self
.
_size
=
reduce
(
lambda
x
,
y
:
x
*
y
,
self
.
_shape
,
1
)
prod
=
1
for
dom
in
self
.
_dom
:
prod
*=
dom
.
size
def
_get_axes_tuple
(
self
):
i
=
0
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment