Medial Code Documentation
Loading...
Searching...
No Matches
Public Member Functions
xgboost.data::detail::SingleBatchDataIter< DType > Class Template Reference

Simplifies the use of DataIter when there is only one batch. More...

#include <adapter.h>

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

Public Member Functions

void BeforeFirst () override
 set before first of the item
 
bool Next () override
 move to next item
 

Detailed Description

template<typename DType>
class xgboost.data::detail::SingleBatchDataIter< DType >

Simplifies the use of DataIter when there is only one batch.

Member Function Documentation

◆ BeforeFirst()

template<typename DType >
void xgboost.data::detail::SingleBatchDataIter< DType >::BeforeFirst ( )
inlineoverridevirtual

set before first of the item

Implements dmlc::DataIter< DType >.

◆ Next()

template<typename DType >
bool xgboost.data::detail::SingleBatchDataIter< DType >::Next ( )
inlineoverridevirtual

move to next item

Implements dmlc::DataIter< DType >.


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