
Last chance! 50% off unlimited learning
Sale ends in
Thresholds each element of the input Tensor.
nnf_threshold(input, threshold, value, inplace = FALSE)nnf_threshold_(input, threshold, value)
(N,*) tensor, where * means, any number of additional dimensions
The value to threshold at
The value to replace with
can optionally do the operation in-place. Default: FALSE