| mlr3torch_callbacks {mlr3torch} | R Documentation |
Dictionary of Torch Callbacks
Description
A mlr3misc::Dictionary of torch callbacks.
Use t_clbk() to conveniently retrieve callbacks.
Can be converted to a data.table using
as.data.table.
Usage
mlr3torch_callbacks
Format
An object of class DictionaryMlr3torchCallbacks (inherits from Dictionary, R6) of length 13.
See Also
Other Callback:
TorchCallback,
as_torch_callback(),
as_torch_callbacks(),
callback_set(),
mlr_callback_set,
mlr_callback_set.checkpoint,
mlr_callback_set.progress,
mlr_context_torch,
t_clbk(),
torch_callback()
Other Dictionary:
mlr3torch_losses,
mlr3torch_optimizers,
t_opt()
Examples
mlr3torch_callbacks$get("checkpoint")
# is the same as
t_clbk("checkpoint")
# convert to a data.table
as.data.table(mlr3torch_callbacks)
[Package mlr3torch version 0.1.0 Index]