Creates the nn_graph from a ModelDescriptor. Mostly for internal use, since the ModelDescriptor is in
most circumstances harder to use than just creating nn_graph directly.
Arguments
- model_descriptor
(
ModelDescriptor)
Model Descriptor.pointeris ignored, insteadoutput_pointervalues are used.$graphmember is modified by-reference.- output_pointers
(
listofcharacter)
Collection ofpointers that indicate what part of themodel_descriptor$graphis being used for output. Entries have the format ofModelDescriptor$pointer.- list_output
(
logical(1))
Whether output should be a list of tensors. IfFALSE, thenlength(output_pointers)must be 1.
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_learner(),
model_descriptor_union(),
nn_graph()