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

Method Reset

src/data/sparse_page_source.h:508–517  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

506 }
507
508 void Reset(BatchParam const& param) override {
509 if (proxy_) {
510 TryLockGuard guard{single_threaded_};
511 iter_.Reset();
512 }
513 SparsePageSourceImpl::Reset(param);
514
515 TryLockGuard guard{single_threaded_};
516 this->base_row_id_ = 0;
517 }
518};
519
520/**

Callers 3

SparsePageSourceMethod · 0.45
ResetMethod · 0.45
ResetMethod · 0.45

Calls 1

ResetFunction · 0.70

Tested by

no test coverage detected