Skip to content
GitLab
Menu
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
558a3f53
Commit
558a3f53
authored
Jul 23, 2018
by
Martin Reinecke
Browse files
remove print
parent
928cd935
Changes
1
Hide whitespace changes
Inline
Side-by-side
nifty5/utilities.py
View file @
558a3f53
...
...
@@ -339,7 +339,6 @@ class frozendict(collections.Mapping):
def
special_add_at
(
inp
,
axis
,
index
,
out
):
sz1
=
int
(
np
.
prod
(
inp
.
shape
[:
axis
]))
sz3
=
int
(
np
.
prod
(
inp
.
shape
[
axis
+
1
:]))
print
(
inp
.
shape
,
sz1
,
sz3
)
inp2
=
inp
.
reshape
([
sz1
,
-
1
,
sz3
])
out2
=
out
.
reshape
([
sz1
,
-
1
,
sz3
])
if
not
np
.
issubdtype
(
inp
.
dtype
,
np
.
complexfloating
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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