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

Function prelu_gradient

dlib/cuda/tensor_tools.cpp:1167–1182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1165 }
1166
1167 void prelu_gradient (
1168 tensor& grad,
1169 const tensor& src,
1170 const tensor& gradient_input,
1171 const tensor& param,
1172 tensor& params_grad
1173 )
1174 {
1175 IF_DLIB_USE_CUDA(
1176 cuda::prelu_gradient(grad, src, gradient_input, param, params_grad);
1177 )
1178
1179 IF_DLIB_NOT_USE_CUDA(
1180 cpu::prelu_gradient(grad, src, gradient_input, param, params_grad);
1181 )
1182 }
1183
1184// ----------------------------------------------------------------------------------------
1185

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected