During training, randomly zeroes some of the elements of the input
tensor with probability p
using samples from a Bernoulli
distribution.
nnf_dropout(input, p = 0.5, training = TRUE, inplace = FALSE)
the input tensor
probability of an element to be zeroed. Default: 0.5
apply dropout if is TRUE
. Default: TRUE
If set to TRUE
, will do this operation in-place.
Default: FALSE