Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/contrib/boosted_trees/lib/quantiles/
Dweighted_quantiles_stream.h79 summary_levels_.reserve(max_levels_); in WeightedQuantilesStream()
135 for (auto& summary : summary_levels_) { in Finalize()
139 summary_levels_.clear(); in Finalize()
140 summary_levels_.shrink_to_fit(); in Finalize()
179 if (summary_levels_.empty()) {
188 level = summary_levels_.size() - 1;
190 QCHECK(level < summary_levels_.size()) << "Invalid level.";
191 return summary_levels_[level].ApproximationError();
194 size_t MaxDepth() const { return summary_levels_.size(); } in MaxDepth()
215 result.reserve(summary_levels_.size() + 1); in SerializeInternalSummaries()
[all …]
/external/tensorflow/tensorflow/core/kernels/boosted_trees/quantiles/
Dweighted_quantiles_stream.h79 summary_levels_.reserve(max_levels_); in WeightedQuantilesStream()
135 for (auto& summary : summary_levels_) { in Finalize()
139 summary_levels_.clear(); in Finalize()
140 summary_levels_.shrink_to_fit(); in Finalize()
179 if (summary_levels_.empty()) {
188 level = summary_levels_.size() - 1;
190 QCHECK(level < summary_levels_.size()) << "Invalid level.";
191 return summary_levels_[level].ApproximationError();
194 size_t MaxDepth() const { return summary_levels_.size(); } in MaxDepth()
215 result.reserve(summary_levels_.size() + 1); in SerializeInternalSummaries()
[all …]