mlann_mlp.cpp | 217 int i, l_step, l_count, buf_sz = 0; local 230 l_count = _layer_sizes->rows + _layer_sizes->cols - 1; 234 CV_CALL( layer_sizes = cvCreateMat( 1, l_count, CV_32SC1 )); 238 for( i = 0; i < l_count; i++ ) 241 if( n < 1 + (0 < i && i < l_count-1)) 251 buf_sz += (l_dst[0] + l_dst[l_count-1]*2)*2; 254 CV_CALL( weights = (double**)cvAlloc( (l_count+1)*sizeof(weights[0]) )); 258 for( i = 1; i < l_count; i++ ) 260 weights[l_count+1] = weights[l_count] + l_dst[l_count-1]*2 273 int i, j, n, dn = 0, l_count, dn0, buf_sz, min_buf_sz; local 615 int l_count = layer_sizes->cols; local 888 int i, j, k, ivcount, ovcount, l_count, total = 0, max_iter; local 1063 int i, ivcount, ovcount, l_count, total = 0, max_iter, buf_sz, dcount0, dcount=0; local 1363 int i, l_count = layer_sizes->cols; local 1474 int i, l_count; local [all...] |