Medial Code Documentation
Loading...
Searching...
No Matches
Public Member Functions
xgboost.data::CSCArrayAdapter Class Reference

CSC adapter with support for array interface. More...

#include <adapter.h>

Inheritance diagram for xgboost.data::CSCArrayAdapter:
xgboost.data::detail::SingleBatchDataIter< CSCArrayAdapterBatch > dmlc::DataIter< DType >

Public Member Functions

 CSCArrayAdapter (StringView indptr, StringView indices, StringView values, std::size_t num_rows)
 
size_t NumRows () const
 
size_t NumColumns () const
 
const CSCArrayAdapterBatchValue () const override
 get current data
 
- Public Member Functions inherited from xgboost.data::detail::SingleBatchDataIter< CSCArrayAdapterBatch >
void BeforeFirst () override
 set before first of the item
 
bool Next () override
 move to next item
 

Detailed Description

CSC adapter with support for array interface.

Member Function Documentation

◆ Value()

const CSCArrayAdapterBatch & xgboost.data::CSCArrayAdapter::Value ( ) const
inlineoverridevirtual

get current data

Implements dmlc::DataIter< DType >.


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