Skip to contents

Retrieves one or more TorchCallbacks from mlr3torch_callbacks. Works like mlr3::lrn() and mlr3::lrns().

Usage

t_clbk(.key, ...)

t_clbks(.keys)

Arguments

.key

(character(1))
The key of the torch callback.

...

(any)
See description of dictionary_sugar_get().

.keys

(character())
The keys of the callbacks.

Examples

t_clbk("progress")
#> <TorchCallback:progress> Progress
#> * Generator: CallbackSetProgress
#> * Parameters: list()
#> * Packages: progress,mlr3torch,torch