Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/0xShug0/audio.cpp
/ activate_array
Function
activate_array
external/ggml/examples/yolo/yolov3-tiny.cpp:186–192 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
184
}
185
186
static void activate_array(float * x, const int n)
187
{
188
// logistic activation
189
for (int i = 0; i < n; i++) {
190
x[i] = 1./(1. + exp(-x[i]));
191
}
192
}
193
194
static void apply_yolo(yolo_layer & layer)
195
{
Callers
1
apply_yolo
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected