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

Function sigmoid_gradient

dlib/cuda/tensor_tools.cpp:1073–1086  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1071 }
1072
1073 void sigmoid_gradient (
1074 tensor& grad,
1075 const tensor& dest,
1076 const tensor& gradient_input
1077 )
1078 {
1079 IF_DLIB_USE_CUDA(
1080 cuda::sigmoid_gradient(grad, dest, gradient_input);
1081 )
1082
1083 IF_DLIB_NOT_USE_CUDA(
1084 cpu::sigmoid_gradient(grad, dest, gradient_input);
1085 )
1086 }
1087
1088// ----------------------------------------------------------------------------------------
1089

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected