|
| PredictionContainer () |
|
std::shared_ptr< PredictionCacheEntry > | Cache (std::shared_ptr< DMatrix > m, DeviceOrd device) |
|
| DMatrixCache (std::size_t cache_size) |
|
DMatrixCache & | operator= (DMatrixCache &&that) |
|
std::shared_ptr< PredictionCacheEntry > | CacheItem (std::shared_ptr< DMatrix > m, Args const &... args) |
| 如果 DMatrix 尚未在缓存中,则缓存新的 DMatrix。 更多...
|
|
std::shared_ptr< PredictionCacheEntry > | ResetItem (std::shared_ptr< DMatrix > m, Args const &... args) |
| 重新初始化缓存中的项。 更多...
|
|
decltype(container_) const & | Container () |
| 获取底层哈希映射的 const 引用。返回前清除已过期的缓存。 更多...
|
|
std::shared_ptr< PredictionCacheEntry > | Entry (DMatrix const *m) const |
|