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
3ff007de
Commit
3ff007de
authored
Jul 18, 2019
by
Lee
Committed by
chicm-ms
Jul 18, 2019
Browse files
Make population_size optional (#1334)
parent
aa8b09e6
Changes
1
Hide 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 @
3ff007de
...
@@ -82,7 +82,7 @@ tuner_schema_dict = {
...
@@ -82,7 +82,7 @@ tuner_schema_dict = {
'builtinTunerName'
:
setChoice
(
'builtinTunerName'
,
'Evolution'
),
'builtinTunerName'
:
setChoice
(
'builtinTunerName'
,
'Evolution'
),
Optional
(
'classArgs'
):
{
Optional
(
'classArgs'
):
{
'optimize_mode'
:
setChoice
(
'optimize_mode'
,
'maximize'
,
'minimize'
),
'optimize_mode'
:
setChoice
(
'optimize_mode'
,
'maximize'
,
'minimize'
),
'population_size'
:
setNumberRange
(
'population_size'
,
int
,
0
,
99999
),
Optional
(
'population_size'
)
:
setNumberRange
(
'population_size'
,
int
,
0
,
99999
),
},
},
Optional
(
'gpuNum'
):
setNumberRange
(
'gpuNum'
,
int
,
0
,
99999
),
Optional
(
'gpuNum'
):
setNumberRange
(
'gpuNum'
,
int
,
0
,
99999
),
},
},
...
...
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