Skip to content

Commit

Permalink
add experimental to new method
Browse files Browse the repository at this point in the history
  • Loading branch information
Crissman committed May 28, 2021
1 parent 22cab9f commit 296e025
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions optuna/_callbacks.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ def __call__(self, study: "optuna.study.Study", trial: FrozenTrial) -> None:
)
)

@experimental("2.8.0")
@staticmethod
def retried_trial_number(trial: FrozenTrial) -> Optional[int]:
"""Return the number of the trial being retried.
Expand Down

0 comments on commit 296e025

Please sign in to comment.