CUDA Networks
|
Implementation of the softmax function for matrices. More...
Go to the source code of this file.
Functions | |
__global__ void | softmaxKernel (const double *input, double *output, int rows, int cols) |
CUDA kernel for applying the softmax function column-wise. More... | |
Implementation of the softmax function for matrices.
Definition in file matrix_softmax.cu.
__global__ void softmaxKernel | ( | const double * | input, |
double * | output, | ||
int | rows, | ||
int | cols | ||
) |
CUDA kernel for applying the softmax function column-wise.
input | Pointer to the input matrix data. |
output | Pointer to the output matrix data. |
rows | Number of rows in the matrix. |
cols | Number of columns in the matrix. |
Definition at line 17 of file matrix_softmax.cu.