• Home
  • Raw
  • Download

Lines Matching refs:CvMat

50         const CvMat* image,
51 CvMat* probs CV_DEFAULT(0) );
54 CvStatModel* cnn_model, const CvMat* images, int tflag,
55 const CvMat* responses, const CvStatModelParams* params,
56 const CvMat* CV_DEFAULT(0), const CvMat* sample_idx CV_DEFAULT(0),
57 const CvMat* CV_DEFAULT(0), const CvMat* CV_DEFAULT(0));
63 const CvMat* responses,
64 const CvMat* etalons,
81 static void icvCNNConvolutionForward( CvCNNLayer* layer, const CvMat* X, CvMat* Y );
84 const CvMat* X, const CvMat* dE_dY, CvMat* dE_dX );
89 static void icvCNNSubSamplingForward( CvCNNLayer* layer, const CvMat* X, CvMat* Y );
92 const CvMat* X, const CvMat* dE_dY, CvMat* dE_dX );
97 static void icvCNNFullConnectForward( CvCNNLayer* layer, const CvMat* X, CvMat* Y );
100 const CvMat*, const CvMat* dE_dY, CvMat* dE_dX );
162 cvTrainCNNClassifier( const CvMat* _train_data, int tflag,
163 const CvMat* _responses,
165 const CvMat*, const CvMat* _sample_idx, const CvMat*, const CvMat* )
169 CvMat* responses = 0;
192 CV_CALL(cnn_model->etalons = (CvMat*)cvClone( params->etalons ));
213 const CvMat* responses,
214 const CvMat* etalons,
219 CvMat** X = 0;
220 CvMat** dE_dX = 0;
232 CvMat image = cvMat( 1, img_size, CV_32FC1 );
237 CV_CALL(X = (CvMat**)cvAlloc( (n_layers+1)*sizeof(CvMat*) ));
238 CV_CALL(dE_dX = (CvMat**)cvAlloc( (n_layers+1)*sizeof(CvMat*) ));
239 memset( X, 0, (n_layers+1)*sizeof(CvMat*) );
240 memset( dE_dX, 0, (n_layers+1)*sizeof(CvMat*) );
257 CvMat etalon;
315 const CvMat* _image,
316 CvMat* probs )
318 CvMat** X = 0;
333 CvMat etalon, image;
347 CV_CALL(X = (CvMat**)cvAlloc( (n_layers+1)*sizeof(CvMat*) ));
348 memset( X, 0, (n_layers+1)*sizeof(CvMat*) );
396 CvStatModel* _cnn_model, const CvMat* _train_data, int tflag,
397 const CvMat* _responses, const CvStatModelParams* _params,
398 const CvMat*, const CvMat* _sample_idx,
399 const CvMat*, const CvMat* )
402 CvMat* responses = 0;
403 CvMat* cls_labels = 0;
635 CvMat* connect_mask, CvMat* weights )
700 float init_learn_rate, int learn_rate_decrease_type, CvMat* weights )
762 float init_learn_rate, int learn_rate_decrease_type, CvMat* weights )
815 const CvMat* X,
816 CvMat* Y )
886 const CvMat* X,
887 CvMat* Y )
911 CvMat sumX_sub_col, exp2ssumWX_sub_col;
965 static void icvCNNFullConnectForward( CvCNNLayer* _layer, const CvMat* X, CvMat* Y )
975 CvMat* weights = layer->weights;
976 CvMat sub_weights, bias;
1021 CvCNNLayer* _layer, int t, const CvMat* X, const CvMat* dE_dY, CvMat* dE_dX )
1023 CvMat* dY_dX = 0;
1024 CvMat* dY_dW = 0;
1025 CvMat* dE_dW = 0;
1053 CvMat* weights = layer->weights;
1107 CvMat dE_dW_mat;
1128 CvCNNLayer* _layer, int t, const CvMat*, const CvMat* dE_dY, CvMat* dE_dX )
1131 CvMat* dY_dX_elems = 0; // elements of matrix dY_dX
1132 CvMat* dY_dW_elems = 0; // elements of matrix dY_dW
1133 CvMat* dE_dW = 0;
1153 CvMat dy_dw0, dy_dw1;
1154 CvMat activ_func_der, sumX_row;
1155 CvMat dE_dY_sub_row, dY_dX_sub_col, dy_dw0_sub_row, dy_dw1_sub_row;
1222 CvMat dE_dW_mat, *weights = layer->weights;
1253 const CvMat* X,
1254 const CvMat* dE_dY,
1255 CvMat* dE_dX )
1257 CvMat* dE_dY_activ_func_der = 0;
1258 CvMat* dE_dW = 0;
1273 CvMat* weights = layer->weights;
1274 CvMat sub_weights, Xtemplate, Xrow, exp2ssumWXrow;
1310 CvMat dE_dW_mat;
1432 CvMat* weights = 0;
1433 CvMat* connect_mask = 0;
1453 CV_CALL(weights = (CvMat*)cvReadByName( fs, node, "weights" ));
1466 CV_CALL(connect_mask = (CvMat*)cvReadByName( fs, node, "connect_mask" ));
1586 CV_CALL(cnn->etalons = (CvMat*)cvReadByName( fs, root_node, "etalons" ));
1587 CV_CALL(cnn->cls_labels = (CvMat*)cvReadByName( fs, root_node, "cls_labels" ));