| 267 | } |
| 268 | |
| 269 | Json 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 | |
| 275 | std::string RandomDataGenerator::GenerateArrayInterface(HostDeviceVector<float>* storage) const { |
| 276 | auto array_interface = this->ArrayInterfaceImpl(storage, rows_, cols_); |
no test coverage detected