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

Function sigmoid

dlib/cuda/tensor_tools.cpp:1059–1071  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1057// ----------------------------------------------------------------------------------------
1058
1059 void sigmoid (
1060 tensor& dest,
1061 const tensor& src
1062 )
1063 {
1064 IF_DLIB_USE_CUDA(
1065 cuda::sigmoid(dest,src);
1066 )
1067
1068 IF_DLIB_NOT_USE_CUDA(
1069 cpu::sigmoid(dest,src);
1070 )
1071 }
1072
1073 void sigmoid_gradient (
1074 tensor& grad,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected