nnf_silu function

Applies the Sigmoid Linear Unit (SiLU) function, element-wise. See nn_silu() for more information.

Applies the Sigmoid Linear Unit (SiLU) function, element-wise. See nn_silu() for more information.

nnf_silu(input, inplace = FALSE)

Arguments

  • input: (N,*) tensor, where * means, any number of additional dimensions
  • inplace: can optionally do the operation in-place. Default: FALSE

See Also

nn_silu().

  • Maintainer: Daniel Falbel
  • License: MIT + file LICENSE
  • Last published: 2025-02-14