SHOGUN
4.1.0
|
Applies the softmax function inplace to a matrix. The softmax function is defined as \( f(A[i,j]) = \frac{exp(A[i,j])}{\sum_i exp(A[i,j])} \)
Definition at line 306 of file implementation/SpecialPurpose.h.
Public Types | |
typedef Matrix::Scalar | T |
Static Public Member Functions | |
static void | compute (Matrix A) |
typedef Matrix::Scalar T |
Scalar type
Definition at line 309 of file implementation/SpecialPurpose.h.
|
static |
Applies the softmax function inplace to a matrix. The softmax function is defined as \( f(A[i,j]) = \frac{exp(A[i,j])}{\sum_i exp(A[i,j])} \)