| 977 | // ---------------------------------------------------------------------------------------- |
| 978 | |
| 979 | void assign_bias_gradient ( |
| 980 | tensor& grad, |
| 981 | const tensor& gradient_input |
| 982 | ) |
| 983 | { |
| 984 | IF_DLIB_USE_CUDA( |
| 985 | cuda::assign_bias_gradient(grad,gradient_input); |
| 986 | ) |
| 987 | |
| 988 | IF_DLIB_NOT_USE_CUDA( |
| 989 | cpu::assign_bias_gradient(grad,gradient_input); |
| 990 | ) |
| 991 | } |
| 992 | |
| 993 | // ---------------------------------------------------------------------------------------- |
| 994 |
nothing calls this directly
no outgoing calls
no test coverage detected