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

Function elu_gradient

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

Source from the content-addressed store, hash-verified

75}
76static inline float relu_gradient(float x){return (x>0);}
77static inline float elu_gradient(float x){return (x >= 0) + (x < 0)*(x + 1);}
78static inline float relie_gradient(float x){return (x>0) ? 1 : .01;}
79static inline float ramp_gradient(float x){return (x>0)+.1;}
80static inline float leaky_gradient(float x){return (x>0) ? 1 : .1;}

Callers 1

gradientFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected