Home
last modified time | relevance | path

Searched refs:layer_out (Results 1 – 2 of 2) sorted by relevance

/external/opencv3/modules/ml/src/
Dann_mlp.cpp285 Mat layer_out( dn, layer_in.cols, CV_64F, buf); in predict() local
287 scale_input( layer_in, layer_out ); in predict()
288 layer_in = layer_out; in predict()
295 layer_out = Mat(dn, cols, CV_64F, data); in predict()
297 gemm(layer_in, w, 1, noArray(), 0, layer_out); in predict()
298 calc_activ_func( layer_out, weights[j] ); in predict()
300 layer_in = layer_out; in predict()
303 layer_out = outputs.rowRange(i, i + dn); in predict()
304 scale_output( layer_in, layer_out ); in predict()
/external/opencv/ml/src/
Dmlann_mlp.cpp309 CvMat hdr[2], _w, *layer_in = &hdr[0], *layer_out = &hdr[1], *temp; in predict() local
313 cvInitMatHeader( layer_out, dn, layer_in->cols, CV_64F, buf ); in predict()
315 scale_input( layer_in, layer_out ); in predict()
316 CV_SWAP( layer_in, layer_out, temp ); in predict()
323 cvInitMatHeader( layer_out, dn, cols, CV_64F, data ); in predict()
324 cvInitMatHeader( &_w, layer_in->cols, layer_out->cols, CV_64F, weights[j] ); in predict()
325 cvGEMM( layer_in, &_w, 1, 0, 0, layer_out ); in predict()
326 calc_activ_func( layer_out, _w.data.db + _w.rows*_w.cols ); in predict()
328 CV_SWAP( layer_in, layer_out, temp ); in predict()
331 cvGetRows( _outputs, layer_out, i, i + dn ); in predict()
[all …]