Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenPTrack/open_ptrack_v2
/ activate_array
Function
activate_array
yolo_detector/darknet_opt/src/activations.c:95–101 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
93
}
94
95
void activate_array(float *x, const int n, const ACTIVATION a)
96
{
97
int i;
98
for(i = 0; i < n; ++i){
99
x[i] = activate(x[i], a);
100
}
101
}
102
103
float gradient(float x, ACTIVATION a)
104
{
Callers
10
forward_activation_layer
Function · 0.85
forward_region_layer
Function · 0.85
forward_lstm_layer
Function · 0.85
backward_lstm_layer
Function · 0.85
forward_convolutional_layer
Function · 0.85
forward_shortcut_layer
Function · 0.85
forward_deconvolutional_layer
Function · 0.85
forward_gru_layer
Function · 0.85
forward_local_layer
Function · 0.85
forward_connected_layer
Function · 0.85
Calls
1
activate
Function · 0.85
Tested by
no test coverage detected