Configures the optimizer of a deep learning model.
Parameters
The parameters are defined dynamically from the optimizer that is set during construction.
Input and Output Channels
There is one input channel "input" and one output channel "output". During training, the channels are of class ModelDescriptor. During prediction, the channels are of class Task.
State
The state is the value calculated by the public method shapes_out().
Internals
During training, the optimizer is cloned and added to the ModelDescriptor. Note that the parameter set of the stored TorchOptimizer is reference-identical to the parameter set of the pipeop itself.