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

Function silu

dlib/cuda/tensor_tools.cpp:1384–1396  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1382// ----------------------------------------------------------------------------------------
1383
1384 void silu (
1385 tensor& dest,
1386 const tensor& src
1387 )
1388 {
1389 IF_DLIB_USE_CUDA(
1390 cuda::silu(dest,src);
1391 )
1392
1393 IF_DLIB_NOT_USE_CUDA(
1394 cpu::silu(dest,src);
1395 )
1396 }
1397
1398 void silu_gradient (
1399 tensor& grad,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected