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

Function mish

dlib/cuda/tensor_tools.cpp:1090–1102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1088// ----------------------------------------------------------------------------------------
1089
1090 void mish (
1091 tensor& dest,
1092 const tensor& src
1093 )
1094 {
1095 IF_DLIB_USE_CUDA(
1096 cuda::mish(dest,src);
1097 )
1098
1099 IF_DLIB_NOT_USE_CUDA(
1100 cpu::mish(dest,src);
1101 )
1102 }
1103
1104 void mish_gradient (
1105 tensor& grad,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected