Skip to content

Commit

Permalink
Add note
Browse files Browse the repository at this point in the history
  • Loading branch information
not522 committed Sep 23, 2021
1 parent 1f27099 commit b09b19a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions optuna/samplers/_grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,11 @@ def objective(trial):
suggested may vary. This is to reduce duplicate suggestions during distributed
optimization.
Note:
When the trial is created by :meth:`~optuna.study.Study.enqueue_trial`,
:class:`~optuna.samplers.GridSampler` does not consider the trial to be a grid. We should
specify all parameters with :meth:`~optuna.study.Study.enqueue_trial` in this case.
Args:
search_space:
A dictionary whose key and value are a parameter name and the corresponding candidates
Expand Down

0 comments on commit b09b19a

Please sign in to comment.