MCPcopy Create free account
hub / github.com/OAID/Tengine / logistic_activate

Function logistic_activate

executor/operator/common/region.cpp:44–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42 return batch * chw + n * hw * (coords + classes + 1) + entry * hw + loc;
43}
44static inline float logistic_activate(float x)
45{
46 return 1. / (1. + exp(-x));
47}
48
49void logit_activate_array(float* x, const int n)
50{

Callers 1

logit_activate_arrayFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected