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

Function elu

dlib/cuda/tensor_tools.cpp:1283–1296  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1281// ----------------------------------------------------------------------------------------
1282
1283 void elu (
1284 tensor& dest,
1285 const tensor& src,
1286 const float alpha
1287 )
1288 {
1289 IF_DLIB_USE_CUDA(
1290 cuda::elu(dest, src, alpha);
1291 )
1292
1293 IF_DLIB_NOT_USE_CUDA(
1294 cpu::elu(dest, src, alpha);
1295 )
1296 }
1297
1298 void elu_gradient (
1299 tensor& grad,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected