Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/xla/
Dliteral_comparison.cc311 abs_value_buckets_(kAbsValueBucketBounds.size() - 1, {0, 0}), in NearComparator()
344 for (int i = 0; i < abs_value_buckets_.size(); ++i) { in UpdateAbsValueBucket()
345 if (i == abs_value_buckets_.size() - 1 || in UpdateAbsValueBucket()
350 abs_value_buckets_[i].first++; in UpdateAbsValueBucket()
352 abs_value_buckets_[i].second++; in UpdateAbsValueBucket()
572 CHECK_EQ(abs_value_buckets_.size() + 1, kAbsValueBucketBounds.size()); in ErrorMessage()
573 for (int i = 0; i < abs_value_buckets_.size(); ++i) { in ErrorMessage()
574 const int64 bucket_size = abs_value_buckets_[i].first; in ErrorMessage()
575 const int64 bucket_mismatches = abs_value_buckets_[i].second; in ErrorMessage()
654 std::vector<std::pair<int64, int64>> abs_value_buckets_; member in xla::literal_comparison::__anon5921e2170111::NearComparator