Home
last modified time | relevance | path

Searched refs:weight_sum (Results 1 – 16 of 16) sorted by relevance

/external/tensorflow/tensorflow/contrib/tensor_forest/kernels/v4/
Dstat_utils.cc34 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()
Dgrow_stats.cc421 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()
Dleaf_model_operators.cc158 stat.weight_sum(); in ExportModel()
Dgrow_stats.h78 float weight_sum() const { return weight_sum_; } in weight_sum() function
/external/tensorflow/tensorflow/contrib/training/python/training/
Dresample_test.py119 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/
Dsched_cfs_prio.c90 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/
Dkernel_bi_filter.cl18 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/
Drollingaccumulator.h132 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/
Dtest_runner.py23 weight_sum = sum(weighted_cases.itervalues())
26 val = random.uniform(0, weight_sum)
/external/tensorflow/tensorflow/python/ops/
Dembedding_ops.py518 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)
Dnn_batchnorm_test.py687 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/
Dfertile_stats.proto34 float weight_sum = 3; field
68 // splits have been initialized. If post_init_leaf_stats.weight_sum
/external/libxcam/modules/isp/
Daiq_handler.cpp746 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/
Dembedding_ops.py696 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/
Dresize_bicubic_op.cc115 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/
Dfirmware_log.py686 weight_sum = sum(weight_list)
689 adjusted_weight = (self.segment_weights[segment] / weight_sum *