Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/lib/histogram/
Dhistogram.cc53 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 …]
Dhistogram.h95 gtl::ArraySlice<double> bucket_limits_; variable
/external/tensorflow/tensorflow/core/lib/monitoring/
Dsampler.cc38 : bucket_limits_(std::move(bucket_limits)) { in ExplicitBuckets()
39 CHECK_GT(bucket_limits_.size(), 0); in ExplicitBuckets()
41 for (size_t i = 1; i < bucket_limits_.size(); i++) { in ExplicitBuckets()
42 CHECK_GT(bucket_limits_[i], bucket_limits_[i - 1]); in ExplicitBuckets()
51 if (bucket_limits_.back() != DBL_MAX) { in ExplicitBuckets()
52 bucket_limits_.push_back(DBL_MAX); in ExplicitBuckets()
57 return bucket_limits_; in explicit_bounds()
61 std::vector<double> bucket_limits_; member in tensorflow::monitoring::__anonb51326770111::ExplicitBuckets