nnf_dropout {torch} | R Documentation |
Dropout
Description
During training, randomly zeroes some of the elements of the input
tensor with probability p
using samples from a Bernoulli
distribution.
Usage
nnf_dropout(input, p = 0.5, training = TRUE, inplace = FALSE)
Arguments
input |
the input tensor |
p |
probability of an element to be zeroed. Default: 0.5 |
training |
apply dropout if is |
inplace |
If set to |
[Package torch version 0.13.0 Index]