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

Public Member Functions

 CSCAdapter (const size_t *col_ptr, const unsigned *row_idx, const float *values, size_t num_features, size_t num_rows)
 
const CSCAdapterBatchValue () const override
 get current data
 
size_t NumRows () const
 
size_t NumColumns () const
 
- Public Member Functions inherited from xgboost.data::detail::SingleBatchDataIter< CSCAdapterBatch >
void BeforeFirst () override
 set before first of the item
 
bool Next () override
 move to next item
 

Member Function Documentation

◆ Value()

const CSCAdapterBatch & xgboost.data::CSCAdapter::Value ( ) const
inlineoverridevirtual

get current data

Implements dmlc::DataIter< DType >.


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