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

Function add

dlib/cuda/tensor_tools.cpp:928–942  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected