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

Function silu_gradient

dlib/cuda/tensor_tools.cpp:1398–1411  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1396 }
1397
1398 void silu_gradient (
1399 tensor& grad,
1400 const tensor& src,
1401 const tensor& gradient_input
1402 )
1403 {
1404 IF_DLIB_USE_CUDA(
1405 cuda::silu_gradient(grad, src, gradient_input);
1406 )
1407
1408 IF_DLIB_NOT_USE_CUDA(
1409 cpu::silu_gradient(grad, src, gradient_input);
1410 )
1411 }
1412
1413// ----------------------------------------------------------------------------------------
1414

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected