Searched refs:current_weight (Results 1 – 4 of 4) sorted by relevance
131 double current_weight = 1.0; in ComputeWeightedMean() local135 current_weight *= learning_rate; in ComputeWeightedMean()136 weight_sum += current_weight; in ComputeWeightedMean()139 weighted_mean += current_weight * samples_[index]; in ComputeWeightedMean()
208 float current_weight = 0.0f; in GetMedian() local212 current_weight += weighted_deltas[i].weight; in GetMedian()213 if (current_weight >= target_weight) { in GetMedian()
88 WeightType current_weight = entry.weight; in BuildFromBufferEntries() local90 cumulative_weight + current_weight); in BuildFromBufferEntries()91 cumulative_weight += current_weight; in BuildFromBufferEntries()
80 WeightType current_weight = entry.weight; in BuildFromBufferEntries() local82 cumulative_weight + current_weight); in BuildFromBufferEntries()83 cumulative_weight += current_weight; in BuildFromBufferEntries()