Skip to content

Commit

Permalink
Clarify doc string
Browse files Browse the repository at this point in the history
  • Loading branch information
nemo committed Jan 8, 2025
1 parent d740ff9 commit e17b718
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions skorch/callbacks/lr_scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,12 @@ def simulate(self, steps, initial_lr, step_args=None):
initial_lr: float
Initial learning rate
step_args: Any
Argument to the `.step()` function of the policy. If it is an
step_args: None or float or List[float] (default=None)
Argument to the ``.step()`` function of the policy. If it is an
indexable object the simulation will try to associate every step of
the simulation with an entry in ``step_args``.
the simulation with an entry in ``step_args``. Scalar values are
passed at every step, unchanged. In the default setting (``None``)
no additional arguments are passed to ``.step()``.
Returns
-------
Expand Down

0 comments on commit e17b718

Please sign in to comment.