Medial Code Documentation
Loading...
Searching...
No Matches
Public Member Functions
xgboost.data::CSRAdapter Class Reference
Inheritance diagram for xgboost.data::CSRAdapter:
xgboost.data::detail::SingleBatchDataIter< CSRAdapterBatch > dmlc::DataIter< DType >

Public Member Functions

 CSRAdapter (const size_t *row_ptr, const unsigned *feature_idx, const float *values, size_t num_rows, size_t num_elements, size_t num_features)
 
const CSRAdapterBatchValue () const override
 get current data
 
size_t NumRows () const
 
size_t NumColumns () const
 
- Public Member Functions inherited from xgboost.data::detail::SingleBatchDataIter< CSRAdapterBatch >
void BeforeFirst () override
 set before first of the item
 
bool Next () override
 move to next item
 

Member Function Documentation

◆ Value()

const CSRAdapterBatch & xgboost.data::CSRAdapter::Value ( ) const
inlineoverridevirtual

get current data

Implements dmlc::DataIter< DType >.


The documentation for this class was generated from the following file: