Medial Code Documentation
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
xgboost::PredictionCacheEntry Struct Reference

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

#include <predictor.h>

Public Member Functions

void Update (std::uint32_t v)
 Update the cache entry by number of versions.
 
void Reset ()
 

Data Fields

HostDeviceVector< bst_floatpredictions
 
std::uint32_t version {0}
 

Detailed Description

Contains pointer to input matrix and associated cached predictions.

Member Function Documentation

◆ Update()

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

Update the cache entry by number of versions.

Parameters
vAdded versions.

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