Home | History | Annotate | Download | only in src

Lines Matching full:grad1

937         CvMat *x1 = &hdr1, *x2 = &hdr2, *grad1 = &ghdr1, *grad2 = &ghdr2, *temp;
985 cvInitMatHeader( grad1, 1, ovcount, CV_64F, buf_ptr );
986 *grad2 = *grad1;
998 grad1->data.db[k] = t*sweight;
1008 grad1->data.db[k] = t*sweight;
1019 cvMul( grad1, &_df, grad1 );
1024 cvGEMM( x1, grad1, params.bp_dw_scale, &_dw, params.bp_moment_scale, &_dw );
1030 cvGEMM( grad1, &_w, 1, 0, 0, grad2, CV_GEMM_B_T );
1032 CV_SWAP( grad1, grad2, temp );
1132 CvMat *x1, *x2, *grad1, *grad2, *temp;
1140 grad1 = &ghdr1; grad2 = &ghdr2;
1175 cvInitMatHeader( grad1, dcount, ovcount, CV_64F, buf_ptr );
1185 double* gdata = grad1->data.db + i*ovcount;
1201 double* gdata = grad1->data.db + i*ovcount;
1218 cvMul( grad1, &_df, grad1 );
1221 cvGEMM( x1, grad1, 1, &_dEdw, 1, &_dEdw, CV_GEMM_A_T );
1226 const double* src = grad1->data.db + k*n2;
1234 cvGEMM( grad1, &_w, 1, 0, 0, grad2, CV_GEMM_B_T );
1235 CV_SWAP( grad1, grad2, temp );