MCPcopy 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

InitializeMethod · 0.95
CalcSizeFunction · 0.85
dataMethod · 0.45
IsCPUMethod · 0.45
SetDeviceMethod · 0.45
ResizeMethod · 0.45
DevicePointerMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected