| 470 | // ---------------------------------------------------------------------------------------- |
| 471 | |
| 472 | void affine_transform( |
| 473 | tensor& dest, |
| 474 | const tensor& src, |
| 475 | const float A, |
| 476 | const float B |
| 477 | ) |
| 478 | { |
| 479 | IF_DLIB_USE_CUDA( |
| 480 | cuda::affine_transform(dest,src,A,B); |
| 481 | ) |
| 482 | |
| 483 | IF_DLIB_NOT_USE_CUDA( |
| 484 | cpu::affine_transform(dest,src,A,B); |
| 485 | ) |
| 486 | } |
| 487 | |
| 488 | void affine_transform( |
| 489 | tensor& dest, |
nothing calls this directly
no test coverage detected