Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
nni
Commits
a6553bb9
Commit
a6553bb9
authored
Sep 10, 2018
by
xuehui
Browse files
Update hyperopt_tuner.py
parent
d4c75d55
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/sdk/pynni/nni/hyperopt_tuner/hyperopt_tuner.py
src/sdk/pynni/nni/hyperopt_tuner/hyperopt_tuner.py
+1
-1
No files found.
src/sdk/pynni/nni/hyperopt_tuner/hyperopt_tuner.py
View file @
a6553bb9
...
@@ -51,7 +51,7 @@ INDEX = '_index'
...
@@ -51,7 +51,7 @@ INDEX = '_index'
def
json2space
(
in_x
,
name
=
ROOT
):
def
json2space
(
in_x
,
name
=
ROOT
):
'''
'''
Change json to search space in hyperopt.
Change json to search space in hyperopt.
'''
'''
out_y
=
copy
.
deepcopy
(
in_x
)
out_y
=
copy
.
deepcopy
(
in_x
)
if
isinstance
(
in_x
,
dict
):
if
isinstance
(
in_x
,
dict
):
if
TYPE
in
in_x
.
keys
():
if
TYPE
in
in_x
.
keys
():
...
...
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