Searched refs:weight_sum (Results 1 – 8 of 8) sorted by relevance
90 int i, j, weight_sum; in parse_results() local140 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()
115 double weight_sum = 0.0; in ComputeWeightedMean() local119 weight_sum += current_weight; in ComputeWeightedMean()124 return weighted_mean / weight_sum; in ComputeWeightedMean()
23 weight_sum = sum(weighted_cases.itervalues())26 val = random.uniform(0, weight_sum)
101 weight_sum = math_ops.reduce_sum(weights, axis=self.axis)102 return math_ops.divide(input_sum, weight_sum)
547 weight_sum = math_ops.segment_sum(weights, segment_ids)548 embeddings = math_ops.divide(embeddings, weight_sum, name=name)552 weight_sum = math_ops.segment_sum(weights_squared, segment_ids)553 weight_sum_sqrt = math_ops.sqrt(weight_sum)
687 weight_sum = _np_weighted_sum(np.ones_like(x_numpy))688 expected_mean = _np_weighted_sum(x_numpy) / weight_sum691 weight_sum)
116 const float weight_sum = in GetWeightsAndIndices() local118 if (std::abs(weight_sum) >= 1000.0f * std::numeric_limits<float>::min()) { in GetWeightsAndIndices()119 const float one_over_weight_sum = 1.0f / weight_sum; in GetWeightsAndIndices()
1970 u64 weight_sum = 0; in HUF_init_dtable_usingweights() local1976 weight_sum += weights[i] > 0 ? (u64)1 << (weights[i] - 1) : 0; in HUF_init_dtable_usingweights()1980 const int max_bits = highest_set_bit(weight_sum) + 1; in HUF_init_dtable_usingweights()1981 const u64 left_over = ((u64)1 << max_bits) - weight_sum; in HUF_init_dtable_usingweights()