| 1396 | } |
| 1397 | |
| 1398 | void silu_gradient ( |
| 1399 | tensor& grad, |
| 1400 | const tensor& src, |
| 1401 | const tensor& gradient_input |
| 1402 | ) |
| 1403 | { |
| 1404 | IF_DLIB_USE_CUDA( |
| 1405 | cuda::silu_gradient(grad, src, gradient_input); |
| 1406 | ) |
| 1407 | |
| 1408 | IF_DLIB_NOT_USE_CUDA( |
| 1409 | cpu::silu_gradient(grad, src, gradient_input); |
| 1410 | ) |
| 1411 | } |
| 1412 | |
| 1413 | // ---------------------------------------------------------------------------------------- |
| 1414 |
nothing calls this directly
no outgoing calls
no test coverage detected