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
80a49a10
Unverified
Commit
80a49a10
authored
Dec 24, 2019
by
QuanluZhang
Committed by
GitHub
Dec 24, 2019
Browse files
update (#1871)
parent
6f256c78
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tools/nni_cmd/config_schema.py
tools/nni_cmd/config_schema.py
+1
-1
No files found.
tools/nni_cmd/config_schema.py
View file @
80a49a10
...
...
@@ -65,7 +65,7 @@ tuner_schema_dict = {
'builtinTunerName'
:
'SMAC'
,
Optional
(
'classArgs'
):
{
'optimize_mode'
:
setChoice
(
'optimize_mode'
,
'maximize'
,
'minimize'
),
'config_dedup'
:
setType
(
'config_dedup'
,
bool
)
Optional
(
'config_dedup'
)
:
setType
(
'config_dedup'
,
bool
)
},
Optional
(
'includeIntermediateResults'
):
setType
(
'includeIntermediateResults'
,
bool
),
Optional
(
'gpuIndices'
):
Or
(
int
,
And
(
str
,
lambda
x
:
len
([
int
(
i
)
for
i
in
x
.
split
(
','
)])
>
0
),
error
=
'gpuIndex format error!'
),
...
...
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