Lines Matching full:rows
223 _layer_sizes->cols != 1 && _layer_sizes->rows != 1 ||
230 l_count = _layer_sizes->rows + _layer_sizes->cols - 1;
282 _inputs->rows != _outputs->rows )
284 "of the same type and have the same number of rows" );
293 n = dn0 = _inputs->rows;
326 calc_activ_func( layer_out, _w.data.db + _w.rows*_w.cols );
353 for( i = 0; i < _src->rows; i++, src += step, dst += cols )
362 for( i = 0; i < _src->rows; i++, src += step, dst += cols )
381 for( i = 0; i < _src->rows; i++, src += cols, dst += step )
390 for( i = 0; i < _src->rows; i++, src += cols, dst += step )
399 int i, j, n = sums->rows, cols = sums->cols;
479 int i, j, n = _xf->rows, cols = _xf->cols;
716 "the number of rows equal to the number of training samples and "
724 "the number of rows equal to the number of training samples and "
727 if( _inputs->rows != _outputs->rows )
732 CV_CALL( sample_idx = cvPreprocessIndexArray( _sample_idx, _inputs->rows ));
734 count = sample_idx->cols + sample_idx->rows - 1;
737 count = _inputs->rows;
745 sw_count = _sample_weights->cols + _sample_weights->rows - 1;
748 _sample_weights->cols != 1 && _sample_weights->rows != 1 ||
749 sw_count != count && sw_count != _inputs->rows )
903 CV_CALL( dw = cvCreateMat( wbuf->rows, wbuf->cols, wbuf->type ));
981 calc_activ_func_deriv( x2, &_df, _w.data.db + _w.rows*_w.cols );
1029 _w.rows = n1;
1084 CV_CALL( dw = cvCreateMat( wbuf->rows, wbuf->cols, wbuf->type ));
1086 CV_CALL( dEdw = cvCreateMat( wbuf->rows, wbuf->cols, wbuf->type ));
1088 CV_CALL( prev_dEdw_sign = cvCreateMat( wbuf->rows, wbuf->cols, CV_8SC1 ));
1171 calc_activ_func_deriv( x2, &_df, _w.data.db + _w.rows*_w.cols );