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
c59137cb
Commit
c59137cb
authored
Oct 22, 2018
by
Martin Reinecke
Browse files
fix
parent
f0a24f5e
Changes
1
Hide whitespace changes
Inline
Side-by-side
nifty5/data_objects/distributed_do.py
View file @
c59137cb
...
...
@@ -305,7 +305,7 @@ for f in ["sqrt", "exp", "log", "tanh", "conjugate"]:
def
clipped_exp
(
a
):
return
data_object
(
x
.
shape
,
np
.
exp
(
np
.
clip
(
x
.
data
,
-
300
,
300
),
x
.
distaxis
)
return
data_object
(
x
.
shape
,
np
.
exp
(
np
.
clip
(
x
.
data
,
-
300
,
300
),
x
.
distaxis
)
)
def
from_object
(
object
,
dtype
,
copy
,
set_locked
):
...
...
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