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

Function logistic_gradient

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

Source from the content-addressed store, hash-verified

63}
64static inline float linear_gradient(float x){return 1;}
65static inline float logistic_gradient(float x){return (1-x)*x;}
66static inline float loggy_gradient(float x)
67{
68 float y = (x+1.)/2.;

Callers 1

gradientFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected