SELU
- class torch.nn.SELU(inplace=False)
Applies the SELU function element-wise.
Applies the SELU function element-wise.
with and .
More details can be found in the paper Self-Normalizing Neural Networks .
inplace (bool, optional) – can optionally do the operation in-place. Default: False
Input: , where means any number of dimensions.
Output: , same shape as the input.

Examples:
>>> m = nn.SELU()
>>> input = torch.randn(2)
>>> output = m(input)
Return the extra representation of the module.
Runs the forward pass.