A mlr3misc::Dictionary
of torch callbacks.
Use t_clbk()
to conveniently retrieve callbacks.
Can be converted to a data.table
using
as.data.table
.
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")
#> <TorchCallback:checkpoint> Checkpoint
#> * Generator: CallbackSetCheckpoint
#> * Parameters: list()
#> * Packages: mlr3torch,torch
# is the same as
t_clbk("checkpoint")
#> <TorchCallback:checkpoint> Checkpoint
#> * Generator: CallbackSetCheckpoint
#> * Parameters: list()
#> * Packages: mlr3torch,torch
# convert to a data.table
as.data.table(mlr3torch_callbacks)
#> Key: <key>
#> key label packages
#> <char> <char> <char>
#> 1: checkpoint Checkpoint mlr3torch,torch
#> 2: history History mlr3torch,torch
#> 3: progress Progress progress,mlr3torch,torch