MCPcopy Create free account
hub / github.com/OpenPTrack/open_ptrack_v2 / elu_activate

Function elu_activate

yolo_detector/darknet_opt/src/activations.h:35–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33static inline float loggy_activate(float x){return 2./(1. + exp(-x)) - 1;}
34static inline float relu_activate(float x){return x*(x>0);}
35static inline float elu_activate(float x){return (x >= 0)*x + (x < 0)*(exp(x)-1);}
36static inline float relie_activate(float x){return (x>0) ? x : .01*x;}
37static inline float ramp_activate(float x){return x*(x>0)+.1*x;}
38static inline float leaky_activate(float x){return (x>0) ? x : .1*x;}

Callers 1

activateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected