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
54f02e09
There was a problem fetching the pipeline summary.
Commit
54f02e09
authored
8 years ago
by
Reimar H Leike
Browse files
Options
Downloads
Patches
Plain Diff
now using chain instead of +
parent
9c5b2e99
No related branches found
No related tags found
3 merge requests
!107
Master
,
!102
Test power space
,
!101
Test power space
Pipeline
#
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
test/test_spaces/test_power_space.py
+2
-2
2 additions, 2 deletions
test/test_spaces/test_power_space.py
with
2 additions
and
2 deletions
test/test_spaces/test_power_space.py
+
2
−
2
View file @
54f02e09
...
@@ -27,13 +27,13 @@ from numpy.testing import assert_, assert_equal, assert_almost_equal,\
...
@@ -27,13 +27,13 @@ from numpy.testing import assert_, assert_equal, assert_almost_equal,\
from
nifty
import
PowerSpace
,
RGSpace
,
Space
,
LMSpace
from
nifty
import
PowerSpace
,
RGSpace
,
Space
,
LMSpace
from
types
import
NoneType
from
types
import
NoneType
from
test.common
import
expand
from
test.common
import
expand
from
itertools
import
product
from
itertools
import
product
,
chain
HARMONIC_SPACES
=
[
RGSpace
((
8
,),
harmonic
=
True
),
RGSpace
((
7
,
8
),
harmonic
=
True
),
RGSpace
((
5
,
5
),
harmonic
=
True
),
RGSpace
((
4
,
5
,
7
),
harmonic
=
True
),
HARMONIC_SPACES
=
[
RGSpace
((
8
,),
harmonic
=
True
),
RGSpace
((
7
,
8
),
harmonic
=
True
),
RGSpace
((
5
,
5
),
harmonic
=
True
),
RGSpace
((
4
,
5
,
7
),
harmonic
=
True
),
LMSpace
(
6
),
LMSpace
(
9
)]
LMSpace
(
6
),
LMSpace
(
9
)]
BINNINGS
=
product
([
None
],
[
None
,
3
,
4
],
[
True
,
False
])
+
product
([
0.
,
1.3
],[
None
],[
False
])
BINNINGS
=
chain
(
product
([
None
],
[
None
,
3
,
4
],
[
True
,
False
])
,
product
([
0.
,
1.3
],[
None
],[
False
])
)
#Try all sensible kinds of combinations of spaces, distributuion strategy and
#Try all sensible kinds of combinations of spaces, distributuion strategy and
...
...
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