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

Method GenerateArrayInterfaceBatch

tests/cpp/helpers.cc:333–337  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

331}
332
333std::pair<std::vector<std::string>, std::string> RandomDataGenerator::GenerateArrayInterfaceBatch(
334 HostDeviceVector<float>* storage, size_t batches) const {
335 this->GenerateDense(storage);
336 return MakeArrayInterfaceBatch(storage, rows_, cols_, batches, device_);
337}
338
339std::string RandomDataGenerator::GenerateColumnarArrayInterface(
340 std::vector<HostDeviceVector<float>>* data) const {

Callers 3

NumpyArrayIterForTestMethod · 0.80
ArrayIterForTestMethod · 0.80
TESTFunction · 0.80

Calls 2

GenerateDenseMethod · 0.95
MakeArrayInterfaceBatchFunction · 0.85

Tested by 1

TESTFunction · 0.64