Medial Code Documentation
|
Public Member Functions | |
SparsePageSource (DataIterProxy< DataIterResetCallback, XGDMatrixCallbackNext > iter, DMatrixProxy *proxy, float missing, int nthreads, bst_feature_t n_features, uint32_t n_batches, std::shared_ptr< Cache > cache) | |
SparsePageSource & | operator++ () final |
void | Reset () override |
![]() | |
SparsePageSourceImpl (float missing, int nthreads, bst_feature_t n_features, uint32_t n_batches, std::shared_ptr< Cache > cache) | |
SparsePageSourceImpl (SparsePageSourceImpl const &that)=delete | |
uint32_t | Iter () const |
const SparsePage & | operator* () const override |
std::shared_ptr< SparsePage const > | Page () const override |
bool | AtEnd () const override |
Additional Inherited Members | |
![]() | |
using | iterator_category = std::forward_iterator_tag |
![]() | |
using | Ring = std::vector< std::future< std::shared_ptr< SparsePage > > > |
![]() | |
bool | ReadCache () |
void | WriteCache () |
![]() | |
std::mutex | single_threaded_ |
std::shared_ptr< SparsePage > | page_ |
bool | at_end_ |
float | missing_ |
std::int32_t | nthreads_ |
bst_feature_t | n_features_ |
std::uint32_t | count_ |
std::uint32_t | n_batches_ |
std::shared_ptr< Cache > | cache_info_ |
std::unique_ptr< Ring > | ring_ |
ExceHandler | exce_ |
common::Monitor | monitor_ |
|
inlinefinalvirtual |
Implements xgboost::BatchIteratorImpl< T >.
|
inlineoverridevirtual |
Reimplemented from xgboost.data::SparsePageSourceImpl< SparsePage >.