| model_descriptor_to_learner {mlr3torch} | R Documentation |
Create a Torch Learner from a ModelDescriptor
Description
First a nn_graph is created using model_descriptor_to_module and then a learner is created from this
module and the remaining information from the model descriptor, which must include the optimizer and loss function
and optionally callbacks.
Usage
model_descriptor_to_learner(model_descriptor)
Arguments
model_descriptor |
( |
Value
See Also
Other Graph Network:
ModelDescriptor(),
TorchIngressToken(),
mlr_learners_torch_model,
mlr_pipeops_module,
mlr_pipeops_torch,
mlr_pipeops_torch_ingress,
mlr_pipeops_torch_ingress_categ,
mlr_pipeops_torch_ingress_ltnsr,
mlr_pipeops_torch_ingress_num,
model_descriptor_to_module(),
model_descriptor_union(),
nn_graph()
[Package mlr3torch version 0.1.0 Index]