Skip to content

Commit

Permalink
Fixing codeql issue
Browse files Browse the repository at this point in the history
  • Loading branch information
nv-braf committed Jul 10, 2024
1 parent bc7eb04 commit 48cc44c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ def _create_trial_objectives(self, trial: optuna.Trial) -> AllTrialObjectives:
)

if parameter:
objective_name = objective_name = self._create_trial_objective_name(
objective_name = self._create_trial_objective_name(
model_name=model_name, parameter_name=parameter_name
)

Expand Down
3 changes: 0 additions & 3 deletions tests/test_optuna_run_config_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -388,9 +388,6 @@ def test_create_run_multi_model_config(self):
add_perf_config = run_config.model_run_configs()[0].perf_config()
vgg_perf_config = run_config.model_run_configs()[0].perf_config()

# PA Config (Seed=100)
# =====================================================================

# ADD_SUB + PA Config (Seed=100)
# =====================================================================
self.assertEqual(add_model_config.to_dict()["name"], "add_sub")
Expand Down

0 comments on commit 48cc44c

Please sign in to comment.