View source: R/nnf-activation.R
nnf_relu6 | R Documentation |
Applies the element-wise function ReLU6(x) = min(max(0,x), 6)
.
nnf_relu6(input, inplace = FALSE)
input |
(N,*) tensor, where * means, any number of additional dimensions |
inplace |
can optionally do the operation in-place. Default: FALSE |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.