Applies the Sigmoid Linear Unit (SiLU) function, element-wise. See nn_silu()
for more information.
Source: R/nnf-activation.R
nnf_silu.Rd
Applies the Sigmoid Linear Unit (SiLU) function, element-wise.
See nn_silu()
for more information.
Arguments
- input
(N,*) tensor, where * means, any number of additional dimensions
- inplace
can optionally do the operation in-place. Default: FALSE