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

Method SingleColBlock

include/xgboost/data.h:615–615  ·  view source on GitHub ↗

* @return Whether the contains a single batch. * * The naming is legacy. */

Source from the content-addressed store, hash-verified

613 * The naming is legacy.
614 */
615 [[nodiscard]] bool SingleColBlock() const { return this->NumBatches() == 1; }
616 [[nodiscard]] virtual std::int32_t NumBatches() const { return 1; }
617
618 virtual ~DMatrix();

Callers 8

GHistIndexMatrixMethod · 0.80
gbtree.ccFile · 0.80
UpdateMethod · 0.80
TESTFunction · 0.80
TestSparsePageRawFormatFunction · 0.80
TESTFunction · 0.80
TestExtMemQdmBasicFunction · 0.80
RunMethod · 0.80

Calls 1

NumBatchesMethod · 0.95

Tested by 5

TESTFunction · 0.64
TestSparsePageRawFormatFunction · 0.64
TESTFunction · 0.64
TestExtMemQdmBasicFunction · 0.64
RunMethod · 0.64