Searched refs:bucket_limits_ (Results 1 – 3 of 3) sorted by relevance
53 Histogram::Histogram() : bucket_limits_(InitDefaultBuckets()) { Clear(); } in Histogram()60 bucket_limits_(custom_bucket_limits_) { in Histogram()62 DCHECK_GT(bucket_limits_.size(), size_t{0}); in Histogram()64 for (size_t i = 1; i < bucket_limits_.size(); i++) { in Histogram()65 DCHECK_GT(bucket_limits_[i], bucket_limits_[i - 1]); in Histogram()85 bucket_limits_ = custom_bucket_limits_; in DecodeFromProto()92 min_ = bucket_limits_[bucket_limits_.size() - 1]; in Clear()97 buckets_.resize(bucket_limits_.size()); in Clear()98 for (size_t i = 0; i < bucket_limits_.size(); i++) { in Clear()105 std::upper_bound(bucket_limits_.begin(), bucket_limits_.end(), value) - in Add()[all …]
95 gtl::ArraySlice<double> bucket_limits_; variable
34 : bucket_limits_(std::move(bucket_limits)) { in ExplicitBuckets()35 CHECK_GT(bucket_limits_.size(), 0); in ExplicitBuckets()37 for (size_t i = 1; i < bucket_limits_.size(); i++) { in ExplicitBuckets()38 CHECK_GT(bucket_limits_[i], bucket_limits_[i - 1]); in ExplicitBuckets()47 if (bucket_limits_.back() != DBL_MAX) { in ExplicitBuckets()48 bucket_limits_.push_back(DBL_MAX); in ExplicitBuckets()53 return bucket_limits_; in explicit_bounds()57 std::vector<double> bucket_limits_; member in tensorflow::monitoring::__anonb9b464190111::ExplicitBuckets