| 1150 | // ---------------------------------------------------------------------------------------- |
| 1151 | |
| 1152 | void prelu ( |
| 1153 | tensor& dest, |
| 1154 | const tensor& src, |
| 1155 | const tensor& param |
| 1156 | ) |
| 1157 | { |
| 1158 | IF_DLIB_USE_CUDA( |
| 1159 | cuda::prelu(dest, src, param); |
| 1160 | ) |
| 1161 | |
| 1162 | IF_DLIB_NOT_USE_CUDA( |
| 1163 | cpu::prelu(dest, src, param); |
| 1164 | ) |
| 1165 | } |
| 1166 | |
| 1167 | void prelu_gradient ( |
| 1168 | tensor& grad, |
nothing calls this directly
no outgoing calls
no test coverage detected