| 191 | } |
| 192 | } |
| 193 | static 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 | } |
| 199 | void logistic_cpu(float* input, int size) |
| 200 | { |
| 201 | for(int i = 0; i < size; ++i) |
no outgoing calls
no test coverage detected