R/nnf-dropout.R
nnf_alpha_dropout.Rd
Applies alpha dropout to the input.
nnf_alpha_dropout(input, p = 0.5, training = FALSE, inplace = FALSE)
the input tensor
probability of an element to be zeroed. Default: 0.5
apply dropout if is TRUE. Default: TRUE
TRUE
If set to TRUE, will do this operation in-place. Default: FALSE
FALSE