Home
last modified time | relevance | path

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

/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 …]