| t_loss | R Documentation |
Retrieve one or more TorchLosses from mlr3torch_losses.
Works like mlr3::lrn() and mlr3::lrns().
t_loss(.key, ...)
t_losses(.keys, ...)
.key |
( |
... |
(any) |
.keys |
( |
A TorchLoss
Other Torch Descriptor:
TorchCallback,
TorchDescriptor,
TorchLoss,
TorchOptimizer,
as_torch_callbacks(),
as_torch_loss(),
as_torch_optimizer(),
mlr3torch_losses,
mlr3torch_optimizers,
t_clbk(),
t_opt()
t_loss("mse", reduction = "mean")
# get the dictionary
t_loss()
t_losses(c("mse", "l1"))
# get the dictionary
t_losses()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.