Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dmlc/xgboost
/ Tensor
Method
Tensor
include/xgboost/linalg.h:785–785 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
783
784
public:
785
Tensor() = default;
786
787
/**
788
* \brief Create a tensor with shape and device ordinal. The storage is initialized
Callers
nothing calls this directly
Calls
8
Initialize
Method · 0.95
CalcSize
Function · 0.85
data
Method · 0.45
IsCPU
Method · 0.45
SetDevice
Method · 0.45
Resize
Method · 0.45
DevicePointer
Method · 0.45
begin
Method · 0.45
Tested by
no test coverage detected