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

Function scale_data_rows

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

Source from the content-addressed store, hash-verified

1492}
1493
1494void scale_data_rows(data d, float s)
1495{
1496 int i;
1497 for(i = 0; i < d.X.rows; ++i){
1498 scale_array(d.X.vals[i], d.X.cols, s);
1499 }
1500}
1501
1502void translate_data_rows(data d, float s)
1503{

Callers 2

load_cifar10_dataFunction · 0.85
load_all_cifar10Function · 0.85

Calls 1

scale_arrayFunction · 0.85

Tested by

no test coverage detected