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

Function entry_index

tests/bin/test_dk_yolo.cpp:193–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

191 }
192}
193static int entry_index(layer l, int batch, int location, int entry)
194{
195 int n = location / (l.w * l.h);
196 int loc = location % (l.w * l.h);
197 return batch * l.outputs + n * l.w * l.h * (4 + l.classes + 1) + entry * l.w * l.h + loc;
198}
199void logistic_cpu(float* input, int size)
200{
201 for(int i = 0; i < size; ++i)

Callers 4

yolo_num_detectionsFunction · 0.70
get_yolo_detectionsFunction · 0.70
get_region_detectionsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected