| 1102 | } |
| 1103 | |
| 1104 | void mish_gradient ( |
| 1105 | tensor& grad, |
| 1106 | const tensor& src, |
| 1107 | const tensor& gradient_input |
| 1108 | ) |
| 1109 | { |
| 1110 | IF_DLIB_USE_CUDA( |
| 1111 | cuda::mish_gradient(grad, src, gradient_input); |
| 1112 | ) |
| 1113 | |
| 1114 | IF_DLIB_NOT_USE_CUDA( |
| 1115 | cpu::mish_gradient(grad, src, gradient_input); |
| 1116 | ) |
| 1117 | } |
| 1118 | |
| 1119 | // ---------------------------------------------------------------------------------------- |
| 1120 |
nothing calls this directly
no outgoing calls
no test coverage detected