Searched refs:get_weight (Results 1 – 6 of 6) sorted by relevance
61 int32 get_weight(int index) const;120 inline int32 WeightedPicker::get_weight(int index) const { in get_weight() function
138 const int32 delta = weight - get_weight(index); in set_weight()
360 EXPECT_EQ(stats.get_weight(1), 1.0); in TEST()361 EXPECT_EQ(stats.get_weight(2), 2.0); in TEST()362 EXPECT_EQ(stats.get_weight(3), 3.0); in TEST()383 float diff = stats.get_weight(i) - i * 1.0; in TEST()
435 float get_weight(int c) const;510 return left_counts_[split].get_weight(class_num); in left_count()514 return right_counts_[split].get_weight(class_num); in right_count()
665 float FixedSizeClassStats::get_weight(int c) const { in get_weight() function in tensorflow::tensorforest::FixedSizeClassStats696 w = get_weight(it.first); in set_sum_and_square()
187 return static_cast<float>(picker_.get_weight(value)) / picker_.total_weight(); in Probability()195 picker_.set_weight(value, picker_.get_weight(value) + 1); in Update()