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
On Thursday, 7th July from 1 to 3 pm there will be a maintenance with a short downtime of GitLab.
Open sidebar
ift
NIFTy
Commits
bc538ace
Commit
bc538ace
authored
Jul 23, 2018
by
Martin Reinecke
Browse files
cosmetics
parent
623eb77f
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/test_models/test_model_gradients.py
View file @
bc538ace
...
...
@@ -105,10 +105,11 @@ class Model_Tests(unittest.TestCase):
def
testLocalModel
(
self
,
type
,
space
,
seed
):
model
=
self
.
make_model
(
type
,
space_key
=
's'
,
space
=
space
,
seed
=
seed
)[
's'
]
ift
.
extra
.
check_value_gradient_consistency
(
ift
.
PointwiseExponential
(
model
))
ift
.
extra
.
check_value_gradient_consistency
(
ift
.
PointwiseExponential
(
model
))
ift
.
extra
.
check_value_gradient_consistency
(
ift
.
PointwiseTanh
(
model
))
ift
.
extra
.
check_value_gradient_consistency
(
ift
.
PointwisePositiveTanh
(
model
))
ift
.
extra
.
check_value_gradient_consistency
(
ift
.
PointwisePositiveTanh
(
model
))
@
expand
(
product
(
[
'Variable'
,
'Constant'
],
...
...
Write
Preview
Markdown
is supported
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