| 4352 | } |
| 4353 | |
| 4354 | static ArrayFactory JSONArrayFactory(const std::shared_ptr<MemoryManager>& mm, |
| 4355 | std::shared_ptr<DataType> type, const char* json) { |
| 4356 | return [=]() { return ToDevice(mm, *ArrayFromJSON(type, json)->data()); }; |
| 4357 | } |
| 4358 | |
| 4359 | static ArrayFactory SlicedArrayFactory(ArrayFactory factory) { |
| 4360 | return [=]() -> Result<std::shared_ptr<Array>> { |
nothing calls this directly
no test coverage detected