| 682 | // ---------------------------------------------------------------------------------------- |
| 683 | |
| 684 | void batch_normalize_inference ( |
| 685 | const double eps, |
| 686 | resizable_tensor& dest, |
| 687 | const tensor& src, |
| 688 | const tensor& gamma, |
| 689 | const tensor& beta, |
| 690 | const tensor& running_means, |
| 691 | const tensor& running_variances |
| 692 | ) |
| 693 | { |
| 694 | IF_DLIB_USE_CUDA( |
| 695 | cuda::batch_normalize_inference(eps,dest,src,gamma,beta,running_means,running_variances); |
| 696 | ) |
| 697 | |
| 698 | IF_DLIB_NOT_USE_CUDA( |
| 699 | cpu::batch_normalize_inference(eps,dest,src,gamma,beta,running_means,running_variances); |
| 700 | ) |
| 701 | } |
| 702 | |
| 703 | void batch_normalize ( |
| 704 | const double eps, |
nothing calls this directly
no outgoing calls
no test coverage detected