Applies element-wise, [REMOVE_ME]SELU(x)=scale∗(max(0,x)+min(0,α∗(exp(x)−1)))[REMOVEME2], with α=1.6732632423543772848170429916717 and scale=1.0507009873554804934193349852946.
Description
Applies element-wise,
SELU(x)=scale∗(max(0,x)+min(0,α∗(exp(x)−1)))
, with α=1.6732632423543772848170429916717 and scale=1.0507009873554804934193349852946.
nn_module
Calls torch::nn_selu() when trained.
Parameters
inplace :: logical(1)
Whether to do the operation in-place. Default: FALSE.
Input and Output Channels
One input channel called "input" and one output channel called "output". For an explanation see PipeOpTorch.
State
The state is the value calculated by the public method $shapes_out().
Examples
# Construct the PipeOppipeop = po("nn_selu")pipeop
# The available parameterspipeop$param_set