Medial Code Documentation
|
Public Member Functions | |
EllpackPageSource (float missing, int nthreads, bst_feature_t n_features, size_t n_batches, std::shared_ptr< Cache > cache, BatchParam param, std::unique_ptr< common::HistogramCuts > cuts, bool is_dense, size_t row_stride, common::Span< FeatureType const > feature_types, std::shared_ptr< SparsePageSource > source, std::int32_t device) | |
void | Fetch () final |
![]() | |
PageSourceIncMixIn (float missing, int nthreads, bst_feature_t n_features, uint32_t n_batches, std::shared_ptr< Cache > cache, bool sync) | |
PageSourceIncMixIn & | operator++ () final |
![]() | |
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 S & | operator* () const override |
std::shared_ptr< S const > | Page () const override |
bool | AtEnd () const override |
virtual void | Reset () |
Additional Inherited Members | |
![]() | |
using | iterator_category = std::forward_iterator_tag |
![]() | |
using | Super = SparsePageSourceImpl< EllpackPage > |
![]() | |
using | Ring = std::vector< std::future< std::shared_ptr< S > > > |
![]() | |
bool | ReadCache () |
void | WriteCache () |
![]() | |
std::shared_ptr< SparsePageSource > | source_ |
bool | sync_ |
![]() | |
std::mutex | single_threaded_ |
std::shared_ptr< S > | page_ |
bool | at_end_ {false} |
float | missing_ |
std::int32_t | nthreads_ |
bst_feature_t | n_features_ |
std::uint32_t | count_ {0} |
std::uint32_t | n_batches_ {0} |
std::shared_ptr< Cache > | cache_info_ |
std::unique_ptr< Ring > | ring_ {new Ring} |
ExceHandler | exce_ |
common::Monitor | monitor_ |
|
inlinefinalvirtual |
Implements xgboost.data::SparsePageSourceImpl< S >.