Searched refs:set_weight (Results 1 – 15 of 15) sorted by relevance
133 void WeightedPicker::set_weight(int index, int32 weight) { in set_weight() function in tensorflow::random::WeightedPicker179 set_weight(num_elements() - 1, weight); in Append()190 set_weight(i, 0); in Resize()
80 picker.set_weight(i, i); in TEST()141 picker.set_weight(elem, elem + 1); in TestPicker()170 picker.set_weight(elem, weight); in TestPicker()
66 void set_weight(int index, int32 weight);
68 void set_weight(float weight) { in set_weight() function107 range.set_weight(weight); in make_weighted_range()
46 void set_weight(float weight) { in set_weight() function152 void set_weight(float weight) { in set_weight() function
42 void set_weight(float weight) { in set_weight() function
253 keys[i].set_weight(keyset[i].weight()); in build_()413 next_key.set_weight(w_range.weight()); in build_current_trie()449 reverse_keys[i].set_weight(keys[i].weight()); in build_next_trie()494 cache_[cache_id].set_weight(weight); in cache()517 cache_[cache_id].set_weight(weight); in cache()
48 void set_weight(float weight) { in set_weight() function
83 key.set_weight(10.0F); in TestKey()121 r_key.set_weight(100.0F); in TestKey()186 w_range.set_weight(40.0F); in TestRange()
90 key.set_weight(1.0); in TestKey()
264 keyset[i].set_weight(1.0F); in TestTrie()
71 key.set_weight(weight); in push_back()
198 picker_.set_weight(value, picker_.get_weight(value) + 1); in Update()
172 keyset[i].set_weight(weights[i]); in benchmark_build()
140 fuchsiaStyle.set_slant(SkToFuchsiaSlant(style.slant())).set_weight(style.weight()); in SkToFuchsiaStyle()