Searched refs:grad2 (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 986 *grad2 = *grad1; in train_backprop() 987 grad2->data.db = buf_ptr + max_count; in train_backprop() 1028 grad2->cols = n1; 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 1140 grad1 = &ghdr1; grad2 = &ghdr2; in train_rprop() 1177 grad2->data.db = buf_ptr + max_count*dcount; in train_rprop() 1231 cvInitMatHeader( grad2, dcount, n1, CV_64F, grad2->data.db ); in train_rprop() [all …]
|
/external/mesa3d/src/mesa/program/ |
D | prog_noise.c | 159 grad2(int hash, float x, float y) in grad2() function 294 n0 = t0 * t0 * grad2(perm[ii + perm[jj]], x0, y0); in _mesa_noise2() 302 n1 = t1 * t1 * grad2(perm[ii + i1 + perm[jj + j1]], x1, y1); in _mesa_noise2() 310 n2 = t2 * t2 * grad2(perm[ii + 1 + perm[jj + 1]], x2, y2); in _mesa_noise2()
|