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

Function mish_gradient

dlib/cuda/tensor_tools.cpp:1104–1117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1102 }
1103
1104 void mish_gradient (
1105 tensor& grad,
1106 const tensor& src,
1107 const tensor& gradient_input
1108 )
1109 {
1110 IF_DLIB_USE_CUDA(
1111 cuda::mish_gradient(grad, src, gradient_input);
1112 )
1113
1114 IF_DLIB_NOT_USE_CUDA(
1115 cpu::mish_gradient(grad, src, gradient_input);
1116 )
1117 }
1118
1119// ----------------------------------------------------------------------------------------
1120

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected