• Home
  • Raw
  • Download

Lines Matching refs:weights

97     weights = 0;  in CvANN_MLP()
110 weights = 0; in CvANN_MLP()
127 cvFree( &weights ); in clear()
185 double* w = weights[i]; in init_weights()
254 CV_CALL( weights = (double**)cvAlloc( (l_count+1)*sizeof(weights[0]) )); in create()
256 weights[0] = wbuf->data.db; in create()
257 weights[1] = weights[0] + l_dst[0]*2; in create()
259 weights[i+1] = weights[i] + (l_dst[i-1] + 1)*l_dst[i]; in create()
260 weights[l_count+1] = weights[l_count] + l_dst[l_count-1]*2; in create()
324 cvInitMatHeader( &_w, layer_in->cols, layer_out->cols, CV_64F, weights[j] ); in predict()
345 const double* w = weights[0]; in scale_input()
373 const double* w = weights[layer_sizes->cols]; in scale_output()
570 double* scale = weights[0]; in calc_input_scale()
616 double* scale = weights[l_count]; in calc_output_scale()
617 double* inv_scale = weights[l_count+1]; in calc_output_scale()
934 double* w = weights[0]; in train_backprop()
977 cvInitMatHeader( &_w, x1->cols, x2->cols, CV_64F, weights[i] ); in train_backprop()
989 w = weights[l_count+1]; in train_backprop()
1020 cvInitMatHeader( &_w, n1+1, n2, CV_64F, weights[i] ); in train_backprop()
1021 cvInitMatHeader( &_dw, n1+1, n2, CV_64F, dw->data.db + (weights[i] - weights[0]) ); in train_backprop()
1139 w = weights[0]; in train_rprop()
1167 cvInitMatHeader( &_w, x1->cols, x2->cols, CV_64F, weights[i] ); in train_rprop()
1176 w = weights[l_count+1]; in train_rprop()
1219 cvInitMatHeader( &_dEdw, n1, n2, CV_64F, dEdw->data.db+(weights[i]-weights[0]) ); in train_rprop()
1230 cvInitMatHeader( &_w, n1, n2, CV_64F, weights[i] ); in train_rprop()
1245 double* wk = weights[i]+k*n2; in train_rprop()
1246 size_t delta = wk - weights[0]; in train_rprop()
1375 cvWriteRawData( fs, weights[0], layer_sizes->data.i[0]*2, "d" ); in write()
1379 cvWriteRawData( fs, weights[l_count], layer_sizes->data.i[l_count-1]*2, "d" ); in write()
1383 cvWriteRawData( fs, weights[l_count+1], layer_sizes->data.i[l_count-1]*2, "d" ); in write()
1390 cvWriteRawData( fs, weights[i], (layer_sizes->data.i[i-1]+1)*layer_sizes->data.i[i], "d" ); in write()
1487 CV_CALL( cvReadRawData( fs, w, weights[0], "d" )); in read()
1494 CV_CALL( cvReadRawData( fs, w, weights[l_count], "d" )); in read()
1501 CV_CALL( cvReadRawData( fs, w, weights[l_count+1], "d" )); in read()
1513 CV_CALL( cvReadRawData( fs, w, weights[i], "d" )); in read()