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

Function free_matrix

yolo_detector/darknet_opt/src/matrix.c:10–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8#include <math.h>
9
10void free_matrix(matrix m)
11{
12 int i;
13 for(i = 0; i < m.rows; ++i) free(m.vals[i]);
14 free(m.vals);
15}
16
17float matrix_topk_accuracy(matrix truth, matrix guess, int k)
18{

Callers 7

network_accuracyFunction · 0.85
network_accuraciesFunction · 0.85
network_accuracy_multiFunction · 0.85
free_dataFunction · 0.85
train_attentionFunction · 0.85
eval_cifar_csvFunction · 0.85
test_classifierFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_classifierFunction · 0.68