/external/chromium_org/third_party/opus/src/src/ |
H A D | mlp.h | 36 const float *weights; member in struct:__anon14738
|
H A D | mlp_train.c | 58 net->weights = malloc((nbLayers-1)*sizeof(net->weights)); 59 net->best_weights = malloc((nbLayers-1)*sizeof(net->weights)); 62 net->weights[i] = malloc((topo[i]+1)*topo[i+1]*sizeof(net->weights[0][0])); 63 net->best_weights[i] = malloc((topo[i]+1)*topo[i+1]*sizeof(net->weights[0][0])); 83 net->weights[0][k*(topo[0]+1)+j+1] = randn(std); 90 sum += inMean[k]*net->weights[0][j*(topo[0]+1)+k+1]; 91 net->weights[0][j*(topo[0]+1)] = -sum; 101 net->weights[nbLayer [all...] |
H A D | mlp.c | 97 const opus_val16 *W = m->weights; 121 const float *W = m->weights;
|
/external/libopus/src/ |
H A D | mlp.h | 36 const float *weights; member in struct:__anon24569
|
H A D | mlp.c | 97 const opus_val16 *W = m->weights; 121 const float *W = m->weights;
|
/external/chromium_org/third_party/freetype/src/base/ |
H A D | ftlcdfil.c | 38 FT_Byte* weights = library->lcd_weights; local 56 fir[0] = weights[2] * val1; 57 fir[1] = weights[3] * val1; 58 fir[2] = weights[4] * val1; 63 fir[0] += weights[1] * val1; 64 fir[1] += weights[2] * val1; 65 fir[2] += weights[3] * val1; 66 fir[3] += weights[4] * val1; 74 pix = fir[0] + weights[0] * val; 75 fir[0] = fir[1] + weights[ [all...] |
/external/freetype/src/base/ |
H A D | ftlcdfil.c | 38 FT_Byte* weights = library->lcd_weights; local 50 /* the values in `weights' can exceed 0xFF */ 59 fir[0] = weights[2] * val1; 60 fir[1] = weights[3] * val1; 61 fir[2] = weights[4] * val1; 65 fir[0] += weights[1] * val1; 66 fir[1] += weights[2] * val1; 67 fir[2] += weights[3] * val1; 68 fir[3] += weights[4] * val1; 76 pix = fir[0] + weights[ [all...] |
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/base/ |
H A D | fxft_ftlcdfil.c | 39 FT_Byte* weights = library->lcd_weights; local 57 fir[0] = weights[2] * val1; 58 fir[1] = weights[3] * val1; 59 fir[2] = weights[4] * val1; 64 fir[0] += weights[1] * val1; 65 fir[1] += weights[2] * val1; 66 fir[2] += weights[3] * val1; 67 fir[3] += weights[4] * val1; 75 pix = fir[0] + weights[0] * val; 76 fir[0] = fir[1] + weights[ [all...] |
/external/clang/test/Profile/ |
H A D | c-general.c | 120 // Never reached -> no weights 137 // Never reached -> no weights 196 // never reached -> no weights 213 static int weights[] = {1, 2, 2, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 5}; local 215 // No cases -> no weights 216 switch (weights[0]) { 225 for (int i = 0, len = sizeof(weights) / sizeof(weights[0]); i < len; ++i) { 228 switch (i[weights]) { 275 // Never reached -> no weights [all...] |
/external/chromium_org/third_party/freetype/include/freetype/ |
H A D | ftlcdfil.h | 73 * weights (as given by FT_LCD_FILTER_DEFAULT) are no longer optimal, as 75 * gamma correction. To preserve color neutrality, weights for a FIR5 77 * and the FIR weights should be 83 * This formula generates equal weights for all the color primaries 85 * set of weights is 91 * where `a' has value 0x30 and `b' value 0x20. The weights in filter 209 * Use this function to override the filter weights selected by 219 * weights :: 221 * uses them to specify the filter weights. 241 unsigned char *weights ); [all...] |
/external/freetype/include/ |
H A D | ftlcdfil.h | 73 * weights (as given by FT_LCD_FILTER_DEFAULT) are no longer optimal, as 75 * gamma correction. To preserve color neutrality, weights for a FIR5 77 * and the FIR weights should be 83 * This formula generates equal weights for all the color primaries 85 * set of weights is 91 * where `a' has value 0x30 and `b' value 0x20. The weights in filter 209 * Use this function to override the filter weights selected by 219 * weights :: 221 * uses them to specify the filter weights. 241 unsigned char *weights ); [all...] |
/external/openfst/src/include/fst/script/ |
H A D | shortest-path.h | 65 vector<typename Arc::Weight> weights; local 73 ArcFilter>::Construct(ifst, &weights); 78 ShortestPath(ifst, ofst, &weights, spopts); 85 ArcFilter>::Construct(ifst, &weights); 90 ShortestPath(ifst, ofst, &weights, spopts); 97 ArcFilter >::Construct(ifst, &weights); 102 ShortestPath(ifst, ofst, &weights, spopts); 109 ArcFilter>::Construct(ifst, &weights); 114 ShortestPath(ifst, ofst, &weights, spopts); 121 ArcFilter>::Construct(ifst, &weights); [all...] |
H A D | shortest-distance.h | 95 const Fst<Arc> &fst, const vector<typename Arc::Weight> *weights) { 106 vector<typename Arc::Weight> weights; local 112 fst, &weights); 115 ShortestDistance(fst, &weights, sdopts); 122 fst, &weights); 126 ShortestDistance(fst, &weights, sdopts); 133 fst, &weights); 137 ShortestDistance(fst, &weights, sdopts); 145 fst, &weights); 149 ShortestDistance(fst, &weights, sdopt 94 Construct( const Fst<Arc> &fst, const vector<typename Arc::Weight> *weights) argument [all...] |
H A D | rmepsilon.h | 174 vector<typename Arc::Weight> weights; local 176 RmEpsilonHelper(fst, &weights, opts); 178 // Copy the weights back 179 args->arg2->resize(weights.size()); 180 for (unsigned i = 0; i < weights.size(); ++i) { 181 (*args->arg2)[i] = WeightClass(weights[i]);
|
/external/pdfium/core/include/thirdparties/freetype/freetype/ |
H A D | ftlcdfil.h | 73 * weights (as given by FT_LCD_FILTER_DEFAULT) are no longer optimal, as 75 * gamma correction. To preserve color neutrality, weights for a FIR5 77 * and the FIR weights should be 83 * This formula generates equal weights for all the color primaries 85 * set of weights is 91 * where `a' has value 0x30 and `b' value 0x20. The weights in filter 209 * Use this function to override the filter weights selected by 219 * weights :: 221 * uses them to specify the filter weights. 241 unsigned char *weights ); [all...] |
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/include/freetype/ |
H A D | ftlcdfil.h | 73 * weights (as given by FT_LCD_FILTER_DEFAULT) are no longer optimal, as 75 * gamma correction. To preserve color neutrality, weights for a FIR5 77 * and the FIR weights should be 83 * This formula generates equal weights for all the color primaries 85 * set of weights is 91 * where `a' has value 0x30 and `b' value 0x20. The weights in filter 209 * Use this function to override the filter weights selected by 219 * weights :: 221 * uses them to specify the filter weights. 241 unsigned char *weights ); [all...] |
/external/opencv/ml/src/ |
H A D | mlcnn.cpp | 297 // 3) Update weights by the gradient descent 635 CvMat* connect_mask, CvMat* weights ) 656 CV_CALL(layer->weights = cvCreateMat( n_output_planes, K*K+1, CV_32FC1 )); 659 if( weights ) 661 if( !ICV_IS_MAT_OF_TYPE( weights, CV_32FC1 ) ) 662 CV_ERROR( CV_StsBadSize, "Type of initial weights matrix must be CV_32FC1" ); 663 if( !CV_ARE_SIZES_EQ( weights, layer->weights ) ) 664 CV_ERROR( CV_StsBadSize, "Invalid size of initial weights matrix" ); 665 CV_CALL(cvCopy( weights, laye [all...] |
H A D | mlboost.cpp | 185 const double* weights = ensemble->get_subtree_weights()->data.db; local 200 double w = weights[i]; 221 double w = weights[idx]; 229 double w = weights[idx]; 249 const double* weights = ensemble->get_subtree_weights()->data.db; local 252 const double* rcw0 = weights + n; 263 double w = weights[idx]; 278 double w = weights[idx], w2 = w*w; 303 double w = weights[idx]; 341 const double* weights local 445 const double* weights = ensemble->get_subtree_weights()->data.db; local 493 const double* weights = ensemble->get_subtree_weights()->data.db; local 575 const double* weights = ensemble->get_subtree_weights()->data.db; local 641 const double* weights = ensemble->get_subtree_weights()->data.db; local 702 const double* weights = ensemble->get_weights()->data.db; local [all...] |
H A D | mlem.cpp | 74 means = weights = probs = inv_eigen_values = log_weight_div_det = 0; 81 means = weights = probs = inv_eigen_values = log_weight_div_det = 0; 99 cvReleaseMat( &weights ); 156 const CvMat* p = params.weights; 178 if( params.weights ) 180 const CvMat* w = params.weights; 186 CV_ERROR( CV_StsBadArg, "The array of weights must be a valid " 344 CV_CALL( weights = cvCreateMat( 1, nclusters, CV_64FC1 )); 429 if( params.weights && params.covs ) 432 cvReshape( weights, weight [all...] |
H A D | mlann_mlp.cpp | 97 weights = 0; 110 weights = 0; 127 cvFree( &weights ); 185 double* w = weights[i]; 187 // initialize weights using Nguyen-Widrow algorithm 254 CV_CALL( weights = (double**)cvAlloc( (l_count+1)*sizeof(weights[0]) )); 256 weights[0] = wbuf->data.db; 257 weights[1] = weights[ [all...] |
/external/eigen/unsupported/Eigen/src/MatrixFunctions/ |
H A D | MatrixLogarithm.h | 238 const RealScalar weights[] = { 0.2777777777777777777777777777777778L, 0.4444444444444444444444444444444444L, local 244 result += weights[k] * (MatrixType::Identity(T.rows(), T.rows()) + nodes[k] * TminusI) 254 const RealScalar weights[] = { 0.1739274225687269286865319746109997L, 0.3260725774312730713134680253890003L, local 260 result += weights[k] * (MatrixType::Identity(T.rows(), T.rows()) + nodes[k] * TminusI) 271 const RealScalar weights[] = { 0.1184634425280945437571320203599587L, 0.2393143352496832340206457574178191L, local 278 result += weights[k] * (MatrixType::Identity(T.rows(), T.rows()) + nodes[k] * TminusI) 289 const RealScalar weights[] = { 0.0856622461895851725201480710863665L, 0.1803807865240693037849167569188581L, local 296 result += weights[k] * (MatrixType::Identity(T.rows(), T.rows()) + nodes[k] * TminusI) 308 const RealScalar weights[] = { 0.0647424830844348466353057163395410L, 0.1398526957446383339507338857118898L, local 316 result += weights[ 328 const RealScalar weights[] = { 0.0506142681451881295762656771549811L, 0.1111905172266872352721779972131204L, local 349 const RealScalar weights[] = { 0.0406371941807872059859460790552618L, 0.0903240803474287020292360156214564L, local 371 const RealScalar weights[] = { 0.0333356721543440687967844049466659L, 0.0747256745752902965728881698288487L, local 394 const RealScalar weights[] = { 0.0278342835580868332413768602212743L, 0.0627901847324523123173471496119701L, local [all...] |
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/type1/ |
H A D | t1load.c | 255 /* Given a vector of weights, one for each design, figure out the */ 256 /* normalized axis coordinates which gave rise to those weights. */ 259 mm_weights_unmap( FT_Fixed* weights, argument 266 axiscoords[0] = weights[1]; 270 axiscoords[0] = weights[3] + weights[1]; 271 axiscoords[1] = weights[3] + weights[2]; 276 axiscoords[0] = weights[7] + weights[ [all...] |
/external/srec/srec/include/ |
H A D | swimodel.h | 39 const wtdata *weights; /*pointer to weights*/ member in struct:__anon31165
|
/external/deqp/framework/delibs/decpp/ |
H A D | deRandom.cpp | 147 // chooseWeighted(first, last, weights) 151 static const float weights[] = { 0.4f, 0.6f, 1.5f, 0.5f, 1.2f, 0.3f, 0.2f, 1.4f }; 152 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(items) == DE_LENGTH_OF_ARRAY(weights)); 157 DE_TEST_ASSERT(expected[i] == rnd.chooseWeighted<int>(DE_ARRAY_BEGIN(items), DE_ARRAY_END(items), &weights[0]));
|
/external/opencv/cv/src/ |
H A D | cvlinefit.cpp | 46 icvFitLine2D_wods( CvPoint2D32f * points, int _count, float *weights, float *line ) argument 56 if( weights == 0 ) 72 x += weights[i] * points[i].x; 73 y += weights[i] * points[i].y; 74 x2 += weights[i] * points[i].x * points[i].x; 75 y2 += weights[i] * points[i].y * points[i].y; 76 xy += weights[i] * points[i].x * points[i].y; 77 w += weights[i]; 102 icvFitLine3D_wods( CvPoint3D32f * points, int count, float *weights, float *line ) argument 116 if( weights ) [all...] |