| 926 | // ---------------------------------------------------------------------------------------- |
| 927 | |
| 928 | void add( |
| 929 | float beta, |
| 930 | tensor& dest, |
| 931 | float alpha, |
| 932 | const tensor& src |
| 933 | ) |
| 934 | { |
| 935 | IF_DLIB_USE_CUDA( |
| 936 | cuda::add(beta,dest,alpha,src); |
| 937 | ) |
| 938 | |
| 939 | IF_DLIB_NOT_USE_CUDA( |
| 940 | cpu::add(beta,dest,alpha,src); |
| 941 | ) |
| 942 | } |
| 943 | |
| 944 | // ---------------------------------------------------------------------------------------- |
| 945 |
nothing calls this directly
no outgoing calls
no test coverage detected