MCPcopy Create free account
hub / github.com/dmlc/xgboost / ArrayInterfaceImpl

Method ArrayInterfaceImpl

tests/cpp/helpers.cc:269–273  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

267}
268
269Json RandomDataGenerator::ArrayInterfaceImpl(HostDeviceVector<float>* storage, size_t rows,
270 size_t cols) const {
271 this->GenerateDense(storage);
272 return GetArrayInterface(storage, rows, cols);
273}
274
275std::string RandomDataGenerator::GenerateArrayInterface(HostDeviceVector<float>* storage) const {
276 auto array_interface = this->ArrayInterfaceImpl(storage, rows_, cols_);

Callers 2

Calls 2

GenerateDenseMethod · 0.95
GetArrayInterfaceFunction · 0.85

Tested by

no test coverage detected