| 993 | // ---------------------------------------------------------------------------------------- |
| 994 | |
| 995 | void softmax( |
| 996 | tensor& dest, |
| 997 | const tensor& src, |
| 998 | operation_mode mode |
| 999 | ) |
| 1000 | { |
| 1001 | IF_DLIB_USE_CUDA( |
| 1002 | cuda::softmax(dest, src, mode); |
| 1003 | ) |
| 1004 | |
| 1005 | IF_DLIB_NOT_USE_CUDA( |
| 1006 | cpu::softmax(dest, src, mode); |
| 1007 | ) |
| 1008 | } |
| 1009 | |
| 1010 | void softmax_gradient( |
| 1011 | tensor& grad, |
nothing calls this directly
no outgoing calls
no test coverage detected