View source: R/nnf-activation.R
nnf_softmin | R Documentation |
Applies a softmin function.
nnf_softmin(input, dim, dtype = NULL)
input |
(Tensor) input |
dim |
(int) A dimension along which softmin will be computed (so every slice along dim will sum to 1). |
dtype |
( |
Note that
Softmin(x) = Softmax(-x)
.
See nnf_softmax definition for mathematical formula.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.