/external/tensorflow/tensorflow/core/lib/random/ |
weighted_picker.h | 56 // Returns -1 if weight_index is not in the range [ 0 .. total_weight()-1 ] 69 int32 total_weight() const; 126 inline int32 WeightedPicker::total_weight() const { return level_[0][0]; } function in class:tensorflow::random::WeightedPicker
|
/external/autotest/client/profilers/powertop/src/ |
suggestions.c | 56 static int total_weight; variable 77 total_weight = 0; 99 total_weight += weight; 112 if (total_weight==0 || suggestions==NULL) { 118 weight = total_weight;
|
/external/ltp/utils/ffsb-6.0-rc2/ |
ffsb_op.c | 87 unsigned total_weight) 93 (double)total_weight; 116 uint64_t total_weight = 0; local 121 total_weight += results->op_weight[i]; 131 total_weight);
|
/external/tensorflow/tensorflow/contrib/boosted_trees/lib/quantiles/ |
weighted_quantiles_stream_test.cc | 59 double *total_weight, Stream *stream) { 63 ++(*total_weight); 69 double *total_weight, Stream *stream) { 73 (*total_weight) += x; 79 double *total_weight, 87 ++(*total_weight); 93 double *total_weight, 102 (*total_weight) += w; 115 double total_weight = 0; local 117 worker_summary_generator(0, max_elements, &total_weight, &stream) 190 double total_weight = 0; local [all...] |
/external/tensorflow/tensorflow/examples/android/jni/object_tracking/ |
frame_pair.cc | 231 float total_weight = 0.0f; local 239 total_weight += weight; 244 median_delta.x = GetMedian(kMaxKeypoints, weighted_deltas, total_weight); 249 float total_weight = 0.0f; local 257 total_weight += weight; 262 median_delta.y = GetMedian(kMaxKeypoints, weighted_deltas, total_weight); 277 float total_weight = 0.0f; local 285 total_weight += weight; 295 total_weight += weight; 302 median_delta = GetMedian(kMaxKeypoints * 2, weighted_deltas, total_weight); [all...] |
utils.h | 293 float total_weight = 0.0f; local 296 total_weight += weights[i];
|
/external/wpa_supplicant_8/src/ap/ |
acs.c | 594 double total_weight; local 628 total_weight = 1; 637 total_weight += 1; 656 total_weight += ACS_ADJ_WEIGHT; 664 total_weight += ACS_NEXT_ADJ_WEIGHT; 672 total_weight += ACS_ADJ_WEIGHT; 680 total_weight += ACS_NEXT_ADJ_WEIGHT; 685 factor /= total_weight;
|
/external/libvpx/libvpx/vp8/encoder/ |
ratectrl.c | 1294 unsigned int total_weight = 0; local [all...] |
/packages/services/BuiltInPrintService/jni/plugins/ |
wprint_scaler.c | 437 sint32 total_weight; local 444 total_weight = x_factor_inv >> 24; 448 while (total_weight > 0) { 481 total_weight -= curr_weight; 482 curr_weight = total_weight > 256 ? 256 : total_weight; 501 sint32 total_weight; local 508 total_weight = x_factor_inv >> 24; 512 while (total_weight > 0) { 542 total_weight -= curr_weight 560 sint32 total_weight; local 616 sint32 total_weight; local 669 sint32 total_weight; local 719 sint32 total_weight; local 765 sint32 total_weight; local 808 sint32 total_weight; local 848 sint32 total_weight; local [all...] |
/external/webp/src/enc/ |
analysis_enc.c | 174 int total_weight; local 198 total_weight = 0; 205 total_weight += accum[n]; 208 weighted_average = (weighted_average + total_weight / 2) / total_weight;
|
/external/ImageMagick/MagickCore/ |
enhance.c | 1410 total_weight; local [all...] |
/external/opencv/ml/src/ |
mltree.cpp | 2274 double max_val = -1, total_weight = 0; local [all...] |