xgboost

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

Contains pointer to input matrix and associated cached predictions. More...

`#include <predictor.h>`

Collaboration diagram for xgboost::PredictionCacheEntry:

## Public Member Functions
| PredictionCacheEntry ()=default
void | Update (uint32_t v)

## Public Attributes
HostDeviceVector< bst_float > | predictions
uint32_t | version { 0 }
std::weak_ptr< DMatrix > | ref

## Detailed Description

Contains pointer to input matrix and associated cached predictions.

## Constructor & Destructor Documentation

## ◆ PredictionCacheEntry()

xgboost::PredictionCacheEntry::PredictionCacheEntry | ( |  | ) |
| default

## Member Function Documentation

## ◆ Update()

void xgboost::PredictionCacheEntry::Update | ( | uint32_t | v | ) |
| inline

## Member Data Documentation

## ◆ predictions

HostDeviceVector<bst_float> xgboost::PredictionCacheEntry::predictions

## ◆ ref

std::weak_ptr< DMatrix > xgboost::PredictionCacheEntry::ref

## ◆ version

uint32_t xgboost::PredictionCacheEntry::version { 0 }

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

- /workspace/include/xgboost/predictor.h