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

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

#include <predictor.h>

xgboost::PredictionCacheEntry 的协作图
Collaboration graph

公共成员函数

 PredictionCacheEntry ()=default
 
void Update (std::uint32_t v)
 按版本号更新缓存条目。 更多...
 
void 重置 ()
 

公共属性

HostDeviceVector< float > 预测
 
std::uint32_t 版本 {0}
 

详细描述

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

构造函数和析构函数文档

◆ PredictionCacheEntry()

xgboost::PredictionCacheEntry::PredictionCacheEntry ( )
默认

成员函数文档

◆ Reset()

void xgboost::PredictionCacheEntry::Reset ( )
inline

◆ Update()

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

按版本号更新缓存条目。

参数
v已添加的版本。

成员数据文档

◆ predictions

HostDeviceVector<float> xgboost::PredictionCacheEntry::predictions

◆ version

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

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