xgboost
公共成员函数 | 公共属性 | 所有成员列表
xgboost::PredictionCacheEntry 结构体参考

包含指向输入矩阵和相关联的缓存预测的指针。 更多...

#include <predictor.h>

xgboost::PredictionCacheEntry 的协作图
Collaboration graph

公共成员函数

 PredictionCacheEntry ()=default
 
void Update (std::uint32_t v)
 按版本数量更新缓存条目。 更多...
 
void Reset ()
 

公共属性

HostDeviceVector< float > predictions
 
std::uint32_t version {0}
 

详细描述

包含指向输入矩阵和相关联的缓存预测的指针。

构造函数和析构函数文档

◆ PredictionCacheEntry()

xgboost::PredictionCacheEntry::PredictionCacheEntry ( )
默认

成员函数文档

◆ Reset()

void xgboost::PredictionCacheEntry::Reset ( )
内联

◆ Update()

void xgboost::PredictionCacheEntry::Update ( std::uint32_t  v)
内联

按版本数量更新缓存条目。

参数
v添加的版本。

成员数据文档

◆ predictions

HostDeviceVector<float> xgboost::PredictionCacheEntry::predictions

◆ version

std::uint32_t xgboost::PredictionCacheEntry::version {0}

此结构体的文档生成自以下文件