t_clbk {mlr3torch}R Documentation

Sugar Function for Torch Callback

Description

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.

Value

TorchCallback

list() of TorchCallbacks

See Also

Other Callback: TorchCallback, as_torch_callback(), as_torch_callbacks(), callback_set(), mlr3torch_callbacks, mlr_callback_set, mlr_callback_set.checkpoint, mlr_callback_set.progress, mlr_context_torch, torch_callback()

Other Torch Descriptor: TorchCallback, TorchDescriptor, TorchLoss, TorchOptimizer, as_torch_callbacks(), as_torch_loss(), as_torch_optimizer(), mlr3torch_losses, mlr3torch_optimizers, t_loss(), t_opt()

Examples


t_clbk("progress")


[Package mlr3torch version 0.1.0 Index]