xgboost

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

`#include <data.h>`

Collaboration diagram for xgboost::HostSparsePageView:

## 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_row_t const > | offset
common::Span< Entry const > | data

## Member Typedef Documentation

## ◆ Inst

using xgboost::HostSparsePageView::Inst = common::Span<Entry const>

## 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_row_t const> xgboost::HostSparsePageView::offset

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

- /home/runner/work/xgboost/xgboost/include/xgboost/data.h