MCPcopy Create free account
hub / github.com/dmlc/xgboost / EmptyReference

Function EmptyReference

tests/cpp/common/test_quantile.h:460–460  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

458inline std::size_t UniqueValueCount(ReferenceColumn const& col) { return col.values.size(); }
459
460inline bool EmptyReference(ReferenceColumn const& col) { return col.values.empty(); }
461
462inline Span<float const> ExactValues(ReferenceColumn const& col) {
463 return {col.values.data(), col.values.size()};

Callers 1

TestSummaryInvariantsFunction · 0.85

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected