Used to bring together different paths created by
R6Class object inheriting from
PipeOpUnbranch$new(options, id = "unbranch", param_vals = list())
options is 0, a vararg input channel is created that can take
any number of inputs.
options is a nonzero integer number, it determines the number of
input channels / options that are created, named
options is a
character, it determines the names of channels directly.
The difference between these three is purely cosmetic if the user chooses
to produce channel names matching with the corresponding
However, it is not necessary to have matching names and the vararg option
is always viable.
Identifier of resulting object, default
param_vals :: named
List of hyperparameter settings, overwriting the hyperparameter settings that would otherwise be set during construction. Default
PipeOpUnbranch has multiple input channels depending on the
options construction argument, named
options is a nonzero integer and named after each
options value if
options is a
options is 0, there is only one
vararg input channel named
All input channels take any argument (
"*") both during training and prediction.
PipeOpUnbranch has one output channel named
"output", producing the only
NO_OP object received as input (
both during training and prediction.
$state is left empty (
PipeOpUnbranch has no parameters.
PipeOpBranch Internals on how alternative path branching works.
Only fields inherited from
Only methods inherited from
Other Path Branching:
# See PipeOpBranch for a complete branching example pou = po("unbranch") pou$train(list(NO_OP, NO_OP, "hello", NO_OP, NO_OP))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.