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

Function linear_activate

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

Source from the content-addressed store, hash-verified

29 return x;
30}
31static inline float linear_activate(float x){return x;}
32static inline float logistic_activate(float x){return 1./(1. + exp(-x));}
33static inline float loggy_activate(float x){return 2./(1. + exp(-x)) - 1;}
34static inline float relu_activate(float x){return x*(x>0);}

Callers 1

activateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected