nn_dropout_nd | R Documentation |
A dropout layer as a torch::nn_module
.
nn_dropout_nd(p = 0.5, inplace = FALSE)
p |
probability for dropout. |
inplace |
whether the dropout in performed inplace. |
The constructor allows specifying:
probability of an element to be zeroed (default is 0.5),
if set to TRUE, will do the operation in-place (default is FALSE).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.