/external/tensorflow/tensorflow/contrib/tensor_forest/kernels/v4/ |
D | stat_utils.cc | 34 const float smoothed_sum = num_classes + stats.weight_sum(); in GiniImpurity() 36 2 * stats.weight_sum() + num_classes) / in GiniImpurity() 41 return stats.weight_sum() * GiniImpurity(stats, num_classes); in WeightedGiniImpurity() 45 stats->set_weight_sum(stats->weight_sum() + weight); in UpdateGini() 54 if (stats.weight_sum() == 0) { in Variance() 59 stats.weight_sum(); in Variance() 62 stats.weight_sum(); in Variance()
|
D | grow_stats.cc | 421 weight_sum_ = slot.post_init_leaf_stats().weight_sum(); in ExtractFromProto() 511 weight_sum_ = slot.post_init_leaf_stats().weight_sum(); in ExtractFromProto() 730 weight_sum_ = slot.post_init_leaf_stats().weight_sum(); in ExtractFromProto() 802 weight_sum_ = slot.post_init_leaf_stats().weight_sum(); in ExtractFromProto() 824 left_counts_[split_num] = cand.left_stats().weight_sum(); in ExtractFromProto()
|
D | leaf_model_operators.cc | 158 stat.weight_sum(); in ExportModel()
|
D | grow_stats.h | 78 float weight_sum() const { return weight_sum_; } in weight_sum() function
|
/external/tensorflow/tensorflow/contrib/training/python/training/ |
D | resample_test.py | 119 weight_sum = 0.0 123 weight_sum += sum(inv_rate) 129 expected_count, weight_sum, delta=(rtol * expected_count)) 139 weighted_value_sum / weight_sum, 207 weight_sum = sum(weights) 208 fractions = [w / weight_sum for w in weights]
|
/external/ltp/testcases/kernel/sched/eas/ |
D | sched_cfs_prio.c | 90 int i, j, weight_sum; in parse_results() local 140 weight_sum = 0; in parse_results() 142 weight_sum += prio_to_weight[i]; in parse_results() 150 expected_us[i] /= weight_sum; in parse_results()
|
/external/libxcam/cl_kernel/ |
D | kernel_bi_filter.cl | 18 calc_sum (cur_y, cur_dark, center_y, &weight_sum, &data_sum); 20 __inline void calc_sum (float8 cur_y, float8 cur_dark, float8 center_y, float8 *weight_sum, float8 … 27 (*weight_sum) += weight; 43 float8 weight_sum = 0.0f; 71 float8 out_data = data_sum / weight_sum;
|
/external/webrtc/webrtc/base/ |
D | rollingaccumulator.h | 132 double weight_sum = 0.0; in ComputeWeightedMean() local 136 weight_sum += current_weight; in ComputeWeightedMean() 141 return weighted_mean / weight_sum; in ComputeWeightedMean()
|
/external/grpc-grpc/src/python/grpcio_tests/tests/stress/ |
D | test_runner.py | 23 weight_sum = sum(weighted_cases.itervalues()) 26 val = random.uniform(0, weight_sum)
|
/external/tensorflow/tensorflow/python/ops/ |
D | embedding_ops.py | 518 weight_sum = math_ops.segment_sum(weights, segment_ids) 519 embeddings = math_ops.div(embeddings, weight_sum, name=name) 523 weight_sum = math_ops.segment_sum(weights_squared, segment_ids) 524 weight_sum_sqrt = math_ops.sqrt(weight_sum)
|
D | nn_batchnorm_test.py | 687 weight_sum = _np_weighted_sum(np.ones_like(x_numpy)) 688 expected_mean = _np_weighted_sum(x_numpy) / weight_sum 691 weight_sum)
|
/external/tensorflow/tensorflow/contrib/tensor_forest/proto/ |
D | fertile_stats.proto | 34 float weight_sum = 3; field 68 // splits have been initialized. If post_init_leaf_stats.weight_sum
|
/external/libxcam/modules/isp/ |
D | aiq_handler.cpp | 746 uint64_t weight_sum = 0; in set_RGBS_weight_grid() local 797 weight_sum += _params.window_list[win_index].weight; in set_RGBS_weight_grid() 815 XCAM_LOG_DEBUG ("sum of weighing factor = %" PRIu64, weight_sum); in set_RGBS_weight_grid() 822 weighted_avg_gr[j + i * weighted_grid_width] / weight_sum; in set_RGBS_weight_grid() 824 weighted_avg_r[j + i * weighted_grid_width] / weight_sum; in set_RGBS_weight_grid() 826 weighted_avg_b[j + i * weighted_grid_width] / weight_sum; in set_RGBS_weight_grid() 828 weighted_avg_gb[j + i * weighted_grid_width] / weight_sum; in set_RGBS_weight_grid() 830 weighted_sat[j + i * weighted_grid_width] / weight_sum; in set_RGBS_weight_grid()
|
/external/tensorflow/tensorflow/contrib/layers/python/layers/ |
D | embedding_ops.py | 696 weight_sum = math_ops.segment_sum(weights, segment_ids) 697 embeddings = math_ops.div(embeddings, weight_sum) 700 weight_sum = math_ops.segment_sum(weights_squared, segment_ids) 701 weight_sum_sqrt = math_ops.sqrt(weight_sum)
|
/external/tensorflow/tensorflow/core/kernels/ |
D | resize_bicubic_op.cc | 115 const float weight_sum = in GetWeightsAndIndices() local 117 if (std::abs(weight_sum) >= 1000.0f * std::numeric_limits<float>::min()) { in GetWeightsAndIndices() 118 const float one_over_weight_sum = 1.0f / weight_sum; in GetWeightsAndIndices()
|
/external/autotest/client/site_tests/firmware_TouchMTB/ |
D | firmware_log.py | 686 weight_sum = sum(weight_list) 689 adjusted_weight = (self.segment_weights[segment] / weight_sum *
|