MCPcopy Create free account
hub / github.com/amov-lab/Prometheus / copy_data

Function copy_data

Modules/object_detection/src/darknet_lib/src/data.c:1510–1521  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1508}
1509
1510data copy_data(data d)
1511{
1512 data c = {0};
1513 c.w = d.w;
1514 c.h = d.h;
1515 c.shallow = 0;
1516 c.num_boxes = d.num_boxes;
1517 c.boxes = d.boxes;
1518 c.X = copy_matrix(d.X);
1519 c.y = copy_matrix(d.y);
1520 return c;
1521}
1522
1523void normalize_data_rows(data d)
1524{

Callers 3

train_progFunction · 0.85
train_dcganFunction · 0.85
train_colorizerFunction · 0.85

Calls 1

copy_matrixFunction · 0.85

Tested by

no test coverage detected