Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dmlc/xgboost
/ GetView
Method
GetView
include/xgboost/data.h:378–380 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
376
using Inst = common::Span<Entry const>;
377
378
[[nodiscard]] HostSparsePageView GetView() const {
379
return {offset.ConstHostSpan(), data.ConstHostSpan()};
380
}
381
382
/*! \brief constructor */
383
SparsePage() { this->Clear(); }
Callers
15
GetTranspose
Method · 0.95
GetGradient
Function · 0.80
GetGradientParallel
Function · 0.80
UpdateResidualParallel
Function · 0.80
NextFeature
Method · 0.80
Setup
Method · 0.80
Update
Method · 0.80
XGDMatrixGetDataAsCSR
Function · 0.80
PushBatch
Method · 0.80
Slice
Method · 0.80
SliceCol
Method · 0.80
ForEachBatch
Method · 0.80
Calls
1
ConstHostSpan
Method · 0.80
Tested by
12
VerifyLoadUri
Function · 0.64
TEST
Function · 0.64
TEST
Function · 0.64
TEST
Function · 0.64
TEST
Function · 0.64
TEST
Function · 0.64
TEST
Function · 0.64
TestSparsePrediction
Function · 0.64
CollectWeightedColumns
Function · 0.64
TEST
Function · 0.64
TestLeafPartition
Function · 0.64
TestExternalMemory
Function · 0.64