| mlr_callback_set.lr_scheduler_one_cycle | R Documentation |
Changes the learning rate based on the 1cycle learning rate policy.
Wraps torch::lr_one_cycle(), where the default values for epochs and steps_per_epoch are the number of training epochs and the number of batches per epoch.
mlr3torch::CallbackSet -> mlr3torch::CallbackSetLRScheduler -> CallbackSetLRSchedulerOneCycle
new()Creates a new instance of this R6 class.
CallbackSetLRSchedulerOneCycle$new(...)
...(any)
The scheduler-specific initialization arguments.
on_begin()Creates the scheduler using the optimizer from the context
CallbackSetLRSchedulerOneCycle$on_begin()
clone()The objects of this class are cloneable with this method.
CallbackSetLRSchedulerOneCycle$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.