Searched refs:grad1 (Results 1 – 2 of 2) sorted by relevance
/external/opencv/ml/src/ |
D | mlann_mlp.cpp | 937 CvMat *x1 = &hdr1, *x2 = &hdr2, *grad1 = &ghdr1, *grad2 = &ghdr2, *temp; in train_backprop() local 985 cvInitMatHeader( grad1, 1, ovcount, CV_64F, buf_ptr ); in train_backprop() 986 *grad2 = *grad1; in train_backprop() 998 grad1->data.db[k] = t*sweight; in train_backprop() 1008 grad1->data.db[k] = t*sweight; in train_backprop() 1019 cvMul( grad1, &_df, grad1 ); in train_backprop() 1024 cvGEMM( x1, grad1, params.bp_dw_scale, &_dw, params.bp_moment_scale, &_dw ); in train_backprop() 1030 cvGEMM( grad1, &_w, 1, 0, 0, grad2, CV_GEMM_B_T ); in train_backprop() 1032 CV_SWAP( grad1, grad2, temp ); in train_backprop() 1132 CvMat *x1, *x2, *grad1, *grad2, *temp; in train_rprop() local [all …]
|
/external/mesa3d/src/mesa/program/ |
D | prog_noise.c | 149 grad1(int hash, float x) in grad1() function 225 n0 = t0 * t0 * grad1(perm[i0 & 0xff], x0); in _mesa_noise1() 229 n1 = t1 * t1 * grad1(perm[i1 & 0xff], x1); in _mesa_noise1()
|