xgboost
Public Types | Public Member Functions | Public Attributes | List of all members
xgboost::HostSparsePageView Struct Reference

#include <data.h>

Collaboration diagram for xgboost::HostSparsePageView:
Collaboration graph

Public Types

using Inst = common::Span< Entry const >
 

Public Member Functions

Inst operator[] (size_t i) const
 
size_t Size () const
 

Public Attributes

common::Span< bst_idx_t const > offset
 
common::Span< Entry const > data
 

Member Typedef Documentation

◆ Inst

Member Function Documentation

◆ operator[]()

Inst xgboost::HostSparsePageView::operator[] ( size_t  i) const
inline

◆ Size()

size_t xgboost::HostSparsePageView::Size ( ) const
inline

Member Data Documentation

◆ data

common::Span<Entry const> xgboost::HostSparsePageView::data

◆ offset

common::Span<bst_idx_t const> xgboost::HostSparsePageView::offset

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