MCPcopy Create free account
hub / github.com/OpenPTrack/open_ptrack_v2 / sum_array

Function sum_array

yolo_detector/darknet_opt/src/utils.c:476–482  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

474}
475
476float sum_array(float *a, int n)
477{
478 int i;
479 float sum = 0;
480 for(i = 0; i < n; ++i) sum += a[i];
481 return sum;
482}
483
484float mean_array(float *a, int n)
485{

Callers 7

mean_arrayFunction · 0.85
sample_arrayFunction · 0.85
forward_cost_layerFunction · 0.85
forward_cost_layer_gpuFunction · 0.85
backward_biasFunction · 0.85
rescale_weightsFunction · 0.85
network_loss_dataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected