|
Medial Code Documentation
|
Public Member Functions | |
| bool | Read (T *page, common::AlignedResourceReadStream *fi) override |
| Load all the segments into page, advance fi to end of the block. | |
| std::size_t | Write (const T &page, common::AlignedFileWriteStream *fo) override |
| save the data to fo, when a page was written. | |
|
inlineoverridevirtual |
Load all the segments into page, advance fi to end of the block.
| page | The data to read page into. |
| fi | the input stream of the file |
Implements xgboost.data::SparsePageFormat< T >.
|
inlineoverridevirtual |
save the data to fo, when a page was written.
| fo | output stream |
Implements xgboost.data::SparsePageFormat< T >.