Medial Code Documentation
Loading...
Searching...
No Matches
Public Member Functions
xgboost::CudaArrayIterForTest Class Reference
Inheritance diagram for xgboost::CudaArrayIterForTest:
xgboost::ArrayIterForTest

Public Member Functions

 CudaArrayIterForTest (float sparsity, size_t rows=Rows(), size_t cols=Cols(), size_t batches=Batches())
 
int Next () override
 
- Public Member Functions inherited from xgboost::ArrayIterForTest
std::string AsArray () const
 
virtual void Reset ()
 
std::size_t Iter () const
 
auto Proxy () -> decltype(proxy_)
 
 ArrayIterForTest (float sparsity, size_t rows, size_t cols, size_t batches)
 
 ArrayIterForTest (Context const *ctx, HostDeviceVector< float > const &data, std::size_t n_samples, bst_feature_t n_features, std::size_t n_batches)
 Create iterator with user provided data.
 

Additional Inherited Members

- Static Public Member Functions inherited from xgboost::ArrayIterForTest
static size_t constexpr Rows ()
 
static size_t constexpr Batches ()
 
static size_t constexpr Cols ()
 
- Protected Attributes inherited from xgboost::ArrayIterForTest
HostDeviceVector< float > data_
 
size_t iter_ {0}
 
DMatrixHandle proxy_
 
std::unique_ptr< RandomDataGeneratorrng_
 
std::vector< std::string > batches_
 
std::string interface_
 
size_t rows_
 
size_t cols_
 
size_t n_batches_
 

Member Function Documentation

◆ Next()

int xgboost::CudaArrayIterForTest::Next ( )
overridevirtual

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