/external/tensorflow/tensorflow/contrib/boosted_trees/lib/quantiles/ |
D | weighted_quantiles_stream_test.cc | 59 double *total_weight, Stream *stream) { in GenerateFixedUniformSummary() argument 63 ++(*total_weight); in GenerateFixedUniformSummary() 69 double *total_weight, Stream *stream) { in GenerateFixedNonUniformSummary() argument 73 (*total_weight) += x; in GenerateFixedNonUniformSummary() 79 double *total_weight, in GenerateRandUniformFixedWeightsSummary() argument 87 ++(*total_weight); in GenerateRandUniformFixedWeightsSummary() 93 double *total_weight, in GenerateRandUniformRandWeightsSummary() argument 102 (*total_weight) += w; in GenerateRandUniformRandWeightsSummary() 115 double total_weight = 0; in TestSingleWorkerStreams() local 117 worker_summary_generator(0, max_elements, &total_weight, &stream); in TestSingleWorkerStreams() [all …]
|
/external/tensorflow/tensorflow/core/kernels/boosted_trees/quantiles/ |
D | weighted_quantiles_stream_test.cc | 58 double *total_weight, Stream *stream) { in GenerateFixedUniformSummary() argument 62 ++(*total_weight); in GenerateFixedUniformSummary() 68 double *total_weight, Stream *stream) { in GenerateFixedNonUniformSummary() argument 72 (*total_weight) += x; in GenerateFixedNonUniformSummary() 78 double *total_weight, in GenerateRandUniformFixedWeightsSummary() argument 86 ++(*total_weight); in GenerateRandUniformFixedWeightsSummary() 92 double *total_weight, in GenerateRandUniformRandWeightsSummary() argument 101 (*total_weight) += w; in GenerateRandUniformRandWeightsSummary() 114 double total_weight = 0; in TestSingleWorkerStreams() local 116 worker_summary_generator(0, max_elements, &total_weight, &stream); in TestSingleWorkerStreams() [all …]
|
/external/grpc-grpc/src/core/lib/iomgr/ |
D | time_averaged_stats.cc | 45 double total_weight = stats->batch_num_samples; in grpc_time_averaged_stats_update_average() local 49 total_weight += stats->regress_weight; in grpc_time_averaged_stats_update_average() 56 total_weight += prev_sample_weight; in grpc_time_averaged_stats_update_average() 59 (total_weight > 0) ? (weighted_sum / total_weight) : stats->init_avg; in grpc_time_averaged_stats_update_average() 60 stats->aggregate_total_weight = total_weight; in grpc_time_averaged_stats_update_average()
|
/external/tensorflow/tensorflow/examples/android/jni/object_tracking/ |
D | frame_pair.cc | 231 float total_weight = 0.0f; in GetWeightedMedian() local 239 total_weight += weight; in GetWeightedMedian() 244 median_delta.x = GetMedian(kMaxKeypoints, weighted_deltas, total_weight); in GetWeightedMedian() 249 float total_weight = 0.0f; in GetWeightedMedian() local 257 total_weight += weight; in GetWeightedMedian() 262 median_delta.y = GetMedian(kMaxKeypoints, weighted_deltas, total_weight); in GetWeightedMedian() 277 float total_weight = 0.0f; in GetWeightedMedianScale() local 285 total_weight += weight; in GetWeightedMedianScale() 295 total_weight += weight; in GetWeightedMedianScale() 302 median_delta = GetMedian(kMaxKeypoints * 2, weighted_deltas, total_weight); in GetWeightedMedianScale()
|
D | utils.h | 293 float total_weight = 0.0f; in ComputeWeightedMean() local 296 total_weight += weights[i]; in ComputeWeightedMean()
|
/external/autotest/client/profilers/powertop/src/ |
D | suggestions.c | 56 static int total_weight; variable 77 total_weight = 0; in reset_suggestions() 99 total_weight += weight; in add_suggestion() 112 if (total_weight==0 || suggestions==NULL) { in pick_suggestion() 118 weight = total_weight; in pick_suggestion()
|
/external/ltp/utils/ffsb-6.0-rc2/ |
D | ffsb_op.c | 87 unsigned total_weight) in print_op_results() argument 93 (double)total_weight; in print_op_results() 116 uint64_t total_weight = 0; in print_results() local 121 total_weight += results->op_weight[i]; in print_results() 131 total_weight); in print_results()
|
/external/chromium-trace/catapult/systrace/profile_chrome/third_party/ |
D | perf_to_tracing.py | 81 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/src/ap/ |
D | acs.c | 616 double total_weight; in acs_find_ideal_chan() local 673 total_weight = 1; in acs_find_ideal_chan() 689 total_weight += 1; in acs_find_ideal_chan() 708 total_weight += ACS_ADJ_WEIGHT; in acs_find_ideal_chan() 716 total_weight += ACS_NEXT_ADJ_WEIGHT; in acs_find_ideal_chan() 724 total_weight += ACS_ADJ_WEIGHT; in acs_find_ideal_chan() 732 total_weight += ACS_NEXT_ADJ_WEIGHT; in acs_find_ideal_chan() 737 factor /= total_weight; in acs_find_ideal_chan()
|
/external/tensorflow/tensorflow/core/lib/random/ |
D | weighted_picker_test.cc | 82 EXPECT_EQ(picker.total_weight(), 45); in TEST() 84 EXPECT_EQ(picker.total_weight(), 10); in TEST() 86 EXPECT_EQ(picker.total_weight(), 1); in TEST() 88 EXPECT_EQ(picker.total_weight(), 0); in TEST() 234 EXPECT_EQ(weight_index, picker.total_weight()); in TestPickAt()
|
D | weighted_picker.h | 69 int32 total_weight() const; 126 inline int32 WeightedPicker::total_weight() const { return level_[0][0]; } in total_weight() function
|
D | weighted_picker.cc | 101 if (total_weight() == 0) return -1; in Pick() 106 return PickAt(UnbiasedUniform(rnd, total_weight())); in Pick() 110 if (weight_index < 0 || weight_index >= total_weight()) return -1; in PickAt()
|
/external/tensorflow/tensorflow/core/framework/ |
D | run_handler_util.cc | 30 float total_weight = 0.5f * num_active_requests * (num_active_requests + 1); in ComputeInterOpSchedulingRanges() local 31 float demand_factor = static_cast<float>(num_threads) / total_weight; in ComputeInterOpSchedulingRanges()
|
D | run_handler_util_test.cc | 56 float total_weight = 0.5f * num_active_requests * (num_active_requests + 1); in VerifyFunction() local 57 float thread_demand = (entry_weight * num_threads) / total_weight; in VerifyFunction()
|
/external/webp/src/enc/ |
D | analysis_enc.c | 174 int total_weight; in AssignSegments() local 198 total_weight = 0; in AssignSegments() 205 total_weight += accum[n]; in AssignSegments() 208 weighted_average = (weighted_average + total_weight / 2) / total_weight; in AssignSegments()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | scale_and_translate_op_test.cc | 129 float total_weight = 0.0f; in Sample() local 137 total_weight += kernel_weight; in Sample() 143 if (std::abs(total_weight) >= 1000.0f * std::numeric_limits<float>::min()) { in Sample() 144 CHECK_NE(total_weight, 0.0f) << y_span_start << "," << y_span_end << " " in Sample() 147 dest[c] /= total_weight; in Sample()
|
D | range_sampler.cc | 187 return static_cast<float>(picker_.get_weight(value)) / picker_.total_weight(); in Probability() 192 kint32max - picker_.total_weight()); in Update()
|
/external/ImageMagick/MagickCore/ |
D | enhance.c | 1858 total_weight+=(weight); \ in EnhanceImage() 1942 total_weight; in EnhanceImage() local 1951 total_weight=0.0; in EnhanceImage() 1968 if (total_weight > MagickEpsilon) in EnhanceImage() 1970 pixel.red=((aggregate.red+total_weight/2.0)/total_weight); in EnhanceImage() 1971 pixel.green=((aggregate.green+total_weight/2.0)/total_weight); in EnhanceImage() 1972 pixel.blue=((aggregate.blue+total_weight/2.0)/total_weight); in EnhanceImage() 1973 pixel.black=((aggregate.black+total_weight/2.0)/total_weight); in EnhanceImage() 1974 pixel.alpha=((aggregate.alpha+total_weight/2.0)/total_weight); in EnhanceImage()
|
/external/libaom/libaom/aom_dsp/ |
D | noise_model.c | 944 double total_weight = 0; in is_noise_model_different() local 952 total_weight += weight; in is_noise_model_different() 954 if (diff * dx / total_weight > kStrengthThreshold) return 1; in is_noise_model_different() 1214 double average_strength = 0, total_weight = 0; in aom_noise_model_get_grain_parameters() local 1222 total_weight += w; in aom_noise_model_get_grain_parameters() 1224 if (total_weight == 0) in aom_noise_model_get_grain_parameters() 1227 average_strength /= total_weight; in aom_noise_model_get_grain_parameters()
|
/external/libvpx/libvpx/vp8/encoder/ |
D | ratectrl.c | 1293 unsigned int total_weight = 0; in estimate_keyframe_frequency() local 1309 total_weight += prior_key_frame_weight[i]; in estimate_keyframe_frequency() 1312 av_key_frame_frequency /= total_weight; in estimate_keyframe_frequency()
|
/external/tensorflow/tensorflow/contrib/metrics/python/ops/ |
D | metric_ops.py | 1073 total_weight = math_ops.reduce_sum(weights) 1119 total_negative = total_weight - total_positive 1145 total_positive, total_weight)), 1470 total_weight = math_ops.reduce_sum(weights) 1500 sums_of_weights_at_least_1 = math_ops.greater_equal(total_weight, 1.0)
|