nnf_softmin {torch} | R Documentation |
Softmin
Description
Applies a softmin function.
Usage
nnf_softmin(input, dim, dtype = NULL)
Arguments
input |
(Tensor) input |
dim |
(int) A dimension along which softmin will be computed (so every slice along dim will sum to 1). |
dtype |
( |
Details
Note that
Softmin(x) = Softmax(-x)
.
See nnf_softmax definition for mathematical formula.
[Package torch version 0.13.0 Index]