Home
last modified time | relevance | path

Searched refs:num_levels_ (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/core/lib/random/
Dweighted_picker.cc31 num_levels_ = 1; in WeightedPicker()
32 while (LevelSize(num_levels_ - 1) < N) { in WeightedPicker()
33 num_levels_++; in WeightedPicker()
37 level_ = new int32*[num_levels_]; in WeightedPicker()
38 for (int l = 0; l < num_levels_; l++) { in WeightedPicker()
46 for (int l = 0; l < num_levels_; l++) { in ~WeightedPicker()
115 for (int l = 1; l < num_levels_; l++) { in PickAt()
129 CHECK_LE(position, level_[num_levels_ - 1][index]); in PickAt()
139 for (int l = num_levels_ - 1; l >= 0; l--) { in set_weight()
147 int32* leaves = level_[num_levels_ - 1]; in SetAllWeights()
[all …]
Dweighted_picker.h108 int num_levels_; // Number of levels in tree (level-0 is root) variable
123 return level_[num_levels_ - 1][index]; in get_weight()
/external/webp/src/utils/
Dquant_levels_dec_utils.c65 int num_levels_; // number of quantized levels member
203 ++p->num_levels_; in CountLevels()
277 if (p.num_levels_ > 2) { in WebPDequantizeLevels()