Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/amov-lab/Prometheus
/ sum_array
Function
sum_array
Modules/object_detection/src/darknet_lib/src/utils.c:479–485 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
477
}
478
479
float sum_array(float *a, int n)
480
{
481
int i;
482
float sum = 0;
483
for(i = 0; i < n; ++i) sum += a[i];
484
return sum;
485
}
486
487
float mean_array(float *a, int n)
488
{
Callers
11
mean_array
Function · 0.85
sample_array
Function · 0.85
forward_cost_layer
Function · 0.85
forward_cost_layer_gpu
Function · 0.85
forward_logistic_layer
Function · 0.85
forward_logistic_layer_gpu
Function · 0.85
backward_bias
Function · 0.85
rescale_weights
Function · 0.85
forward_softmax_layer
Function · 0.85
forward_softmax_layer_gpu
Function · 0.85
network_loss_data
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected