Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
10
void 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
17
float matrix_topk_accuracy(matrix truth, matrix guess, int k)
18
{
Callers
7
network_accuracy
Function · 0.85
network_accuracies
Function · 0.85
network_accuracy_multi
Function · 0.85
free_data
Function · 0.85
train_attention
Function · 0.85
eval_cifar_csv
Function · 0.85
test_classifier
Function · 0.85
Calls
no outgoing calls
Tested by
1
test_classifier
Function · 0.68