Searched refs:total_weight (Results 1 - 18 of 18) sorted by relevance

/external/tensorflow/tensorflow/contrib/boosted_trees/lib/quantiles/
H A Dweighted_quantiles_stream_test.cc59 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,
58 GenerateFixedUniformSummary(int32 worker_id, int64 max_elements, double *total_weight, Stream *stream) argument
68 GenerateFixedNonUniformSummary(int32 worker_id, int64 max_elements, double *total_weight, Stream *stream) argument
78 GenerateRandUniformFixedWeightsSummary(int32 worker_id, int64 max_elements, double *total_weight, Stream *stream) argument
92 GenerateRandUniformRandWeightsSummary(int32 worker_id, int64 max_elements, double *total_weight, Stream *stream) argument
134 GenerateOneValue(int32 worker_id, int64 max_elements, double *total_weight, Stream *stream) argument
190 double total_weight = 0; local
[all...]
/external/tensorflow/tensorflow/core/lib/random/
H A Dweighted_picker.h56 // 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
H A Dweighted_picker_test.cc82 EXPECT_EQ(picker.total_weight(), 45);
84 EXPECT_EQ(picker.total_weight(), 10);
86 EXPECT_EQ(picker.total_weight(), 1);
88 EXPECT_EQ(picker.total_weight(), 0);
234 EXPECT_EQ(weight_index, picker.total_weight());
H A Dweighted_picker.cc101 if (total_weight() == 0) return -1;
106 return PickAt(UnbiasedUniform(rnd, total_weight()));
110 if (weight_index < 0 || weight_index >= total_weight()) return -1;
/external/autotest/client/profilers/powertop/src/
H A Dsuggestions.c56 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/tensorflow/tensorflow/examples/android/jni/object_tracking/
H A Dframe_pair.cc231 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...]
H A Dutils.h293 float total_weight = 0.0f; local
296 total_weight += weights[i];
/external/ltp/utils/ffsb-6.0-rc2/
H A Dffsb_op.c87 unsigned total_weight)
93 (double)total_weight;
116 uint64_t total_weight = 0; local
121 total_weight += results->op_weight[i];
131 total_weight);
85 print_op_results(unsigned int op_num, ffsb_op_results_t * results, double runtime, unsigned total_ops, unsigned total_weight) argument
/external/chromium-trace/catapult/systrace/profile_chrome/third_party/
H A Dperf_to_tracing.py81 self.total_weight = 0.0
101 return self.total_weight
105 self.total_weight += s.weight
107 self.total_weight += c.GetTotalWeight()
109 return self.total_weight
/external/wpa_supplicant_8/hostapd/src/ap/
H A Dacs.c594 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/wpa_supplicant_8/src/ap/
H A Dacs.c594 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/wpa_supplicant_8/wpa_supplicant/src/ap/
H A Dacs.c594 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/webp/src/enc/
H A Danalysis_enc.c174 int total_weight; local
198 total_weight = 0;
205 total_weight += accum[n];
208 weighted_average = (weighted_average + total_weight / 2) / total_weight;
/external/tensorflow/tensorflow/core/kernels/
H A Drange_sampler.cc187 return static_cast<float>(picker_.get_weight(value)) / picker_.total_weight();
192 kint32max - picker_.total_weight());
/external/ImageMagick/MagickCore/
H A Denhance.c1335 total_weight+=(weight); \
1419 total_weight;
1435 total_weight=0.0;
1452 pixel.red=((aggregate.red+total_weight/2.0)/total_weight);
1453 pixel.green=((aggregate.green+total_weight/2.0)/total_weight);
1454 pixel.blue=((aggregate.blue+total_weight/2.0)/total_weight);
1455 pixel.black=((aggregate.black+total_weight/2.
1410 total_weight; local
[all...]
/external/libvpx/libvpx/vp8/encoder/
H A Dratectrl.c1294 unsigned int total_weight = 0; local
1310 total_weight += prior_key_frame_weight[i];
1313 av_key_frame_frequency /= total_weight;
/external/tensorflow/tensorflow/contrib/metrics/python/ops/
H A Dmetric_ops.py1436 total_weight = math_ops.reduce_sum(weights)
1466 sums_of_weights_at_least_1 = math_ops.greater_equal(total_weight, 1.0)
/external/opencv/ml/src/
H A Dmltree.cpp2274 double max_val = -1, total_weight = 0; local
2321 total_weight += val;
2332 node->node_risk = total_weight - max_val;

Completed in 824 milliseconds