Base class for the recurrent layers PipeOpTorchRNN, PipeOpTorchLSTM and
PipeOpTorchGRU.
Input and Output Channels
One input channel "input", and the output channels described in the child classes.
For an explanation see PipeOpTorch.
See also
Other PipeOps:
mlr_pipeops_torch_model
Super classes
mlr3pipelines::PipeOp -> PipeOpTorch -> PipeOpTorchRecurrent
Methods
PipeOpTorchRecurrent$new()
Creates a new instance of this R6 class.
Usage
PipeOpTorchRecurrent$new(id, type, param_set, param_vals = list())Arguments
id(
character(1))
Identifier of the resulting object.type(
character(1))
Which recurrent layer to build, one of"rnn","lstm"or"gru".param_set(
ParamSet)
The parameter set.param_vals(
list())
List of hyperparameter settings, overwriting the hyperparameter settings that would otherwise be set during construction.