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

Function softmax_all_gradient

dlib/cuda/tensor_tools.cpp:1042–1055  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1040 }
1041
1042 void softmax_all_gradient (
1043 tensor& grad,
1044 const tensor& dest,
1045 const tensor& gradient_input
1046 )
1047 {
1048 IF_DLIB_USE_CUDA(
1049 cuda::softmax_all_gradient(grad, dest, gradient_input);
1050 )
1051
1052 IF_DLIB_NOT_USE_CUDA(
1053 cpu::softmax_all_gradient(grad, dest, gradient_input);
1054 )
1055 }
1056
1057// ----------------------------------------------------------------------------------------
1058

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected