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

Function batch_normalize_conv_inference

dlib/cuda/tensor_tools.cpp:749–766  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

747// ----------------------------------------------------------------------------------------
748
749 void batch_normalize_conv_inference (
750 const double eps,
751 resizable_tensor& dest,
752 const tensor& src,
753 const tensor& gamma,
754 const tensor& beta,
755 const tensor& running_means,
756 const tensor& running_variances
757 )
758 {
759 IF_DLIB_USE_CUDA(
760 cuda::batch_normalize_conv_inference(eps,dest,src,gamma,beta,running_means,running_variances);
761 )
762
763 IF_DLIB_NOT_USE_CUDA(
764 cpu::batch_normalize_conv_inference(eps,dest,src,gamma,beta,running_means,running_variances);
765 )
766 }
767
768 void batch_normalize_conv (
769 const double eps,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected