Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
nni
Commits
700026c5
Unverified
Commit
700026c5
authored
Jun 08, 2021
by
Lijiaoa
Committed by
GitHub
Jun 08, 2021
Browse files
fix optimize_mode issue (#3731)
Co-authored-by:
Lijiao
<
Lijiaoa@outlook.com
>
parent
b11a4c35
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ts/webui/src/static/model/experiment.ts
ts/webui/src/static/model/experiment.ts
+2
-2
No files found.
ts/webui/src/static/model/experiment.ts
View file @
700026c5
...
...
@@ -131,8 +131,8 @@ class Experiment {
get
optimizeMode
():
string
{
for
(
const
algo
of
[
this
.
config
.
tuner
,
this
.
config
.
advisor
,
this
.
config
.
assessor
])
{
if
(
algo
&&
algo
.
classArgs
&&
algo
.
classArgs
[
'
optimize
M
ode
'
])
{
return
algo
.
classArgs
[
'
optimize
M
ode
'
];
if
(
algo
&&
algo
.
classArgs
&&
algo
.
classArgs
[
'
optimize
_m
ode
'
])
{
return
algo
.
classArgs
[
'
optimize
_m
ode
'
];
}
}
return
'
unknown
'
;
...
...
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