| 1217 | // ---------------------------------------------------------------------------------------- |
| 1218 | |
| 1219 | void tanh ( |
| 1220 | tensor& dest, |
| 1221 | const tensor& src |
| 1222 | ) |
| 1223 | { |
| 1224 | IF_DLIB_USE_CUDA( |
| 1225 | cuda::tanh(dest,src); |
| 1226 | ) |
| 1227 | |
| 1228 | IF_DLIB_NOT_USE_CUDA( |
| 1229 | cpu::tanh(dest,src); |
| 1230 | ) |
| 1231 | } |
| 1232 | |
| 1233 | void tanh_gradient ( |
| 1234 | tensor& grad, |
nothing calls this directly
no outgoing calls
no test coverage detected