MCPcopy Create free account
hub / github.com/davisking/dlib / batch_normalize_inference

Function batch_normalize_inference

dlib/cuda/tensor_tools.cpp:684–701  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected