Home
last modified time | relevance | path

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

/external/opencv3/modules/ml/src/
Dann_mlp.cpp284 Mat layer_in = inputs.rowRange(i, i + dn); in predict() local
285 Mat layer_out( dn, layer_in.cols, CV_64F, buf); in predict()
287 scale_input( layer_in, layer_out ); in predict()
288 layer_in = layer_out; in predict()
296 Mat w = weights[j].rowRange(0, layer_in.cols); in predict()
297 gemm(layer_in, w, 1, noArray(), 0, layer_out); in predict()
300 layer_in = layer_out; 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
312 cvGetRows( _inputs, layer_in, i, i + dn ); in predict()
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()
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()
328 CV_SWAP( layer_in, layer_out, temp ); in predict()
332 scale_output( layer_in, layer_out ); in predict()