View source: R/nnf-activation.R
nnf_prelu | R Documentation |
Applies element-wise the function
PReLU(x) = max(0,x) + weight * min(0,x)
where weight is a learnable parameter.
nnf_prelu(input, weight)
input |
(N,*) tensor, where * means, any number of additional dimensions |
weight |
(Tensor) the learnable weights |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.