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
e7d31abd
Commit
e7d31abd
authored
Apr 03, 2019
by
Lee
Committed by
xuehui
Apr 03, 2019
Browse files
remove invisible symbols which can cause syntax error (#954)
parent
afce6d4a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
src/sdk/pynni/nni/metis_tuner/metis_tuner.py
src/sdk/pynni/nni/metis_tuner/metis_tuner.py
+1
-2
No files found.
src/sdk/pynni/nni/metis_tuner/metis_tuner.py
View file @
e7d31abd
...
...
@@ -126,8 +126,7 @@ class MetisTuner(Tuner):
for
key
in
search_space
:
key_type
=
search_space
[
key
][
'_type'
]
key_range
=
search_space
[
key
][
'_value'
]
idx
=
self
.
key_order
.
index
(
key
)
)
idx
=
self
.
key_order
.
index
(
key
)
if
key_type
==
'quniform'
:
if
key_range
[
2
]
==
1
:
self
.
x_bounds
[
idx
]
=
[
key_range
[
0
],
key_range
[
1
]]
...
...
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