Skip to content

Commit 498e7a5

Browse files
committed
Update examples for tuner
1 parent 2cb6276 commit 498e7a5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

examples/tuner/exam_mha_mlp_binary_classifier_tuner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
'act_names': ['Tanh', 'ELU'],
2929
'dropout_rates': [0.2, None],
3030
'optim': ['BaseGA'],
31-
'optim_paras': [
31+
'optim_params': [
3232
{"epoch": 10, "pop_size": 20},
3333
{"epoch": 20, "pop_size": 20},
3434
],

examples/tuner/exam_mha_mlp_multiclass_classifier_tuner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
'act_names': ['Tanh', 'ELU'],
2929
'dropout_rates': [0.2, None],
3030
'optim': ['BaseGA'],
31-
'optim_paras': [
31+
'optim_params': [
3232
{"epoch": 10, "pop_size": 20},
3333
{"epoch": 20, "pop_size": 20},
3434
],

examples/tuner/exam_mha_mlp_regressor_tuner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
'act_names': ['Tanh', 'ELU'],
2929
'dropout_rates': [0.2, None],
3030
'optim': ['BaseGA'],
31-
'optim_paras': [
31+
'optim_params': [
3232
{"epoch": 10, "pop_size": 20},
3333
{"epoch": 20, "pop_size": 20},
3434
],

0 commit comments

Comments
 (0)