nnf_silu: Applies the Sigmoid Linear Unit (SiLU) function,...

View source: R/nnf-activation.R

nnf_siluR Documentation

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

Description

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

Usage

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().


torch documentation built on June 7, 2023, 6:19 p.m.