View source: R/nnf-activation.R
nnf_threshold | R Documentation |
Thresholds each element of the input Tensor.
nnf_threshold(input, threshold, value, inplace = FALSE)
nnf_threshold_(input, threshold, value)
input |
(N,*) tensor, where * means, any number of additional dimensions |
threshold |
The value to threshold at |
value |
The value to replace with |
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.