| 1598 | #if MGB_ATLAS || MGB_CAMBRICON |
| 1599 | namespace { |
| 1600 | void load_no_device(LiteDeviceType device_type, const std::string& model_path) { |
| 1601 | lite::Config config; |
| 1602 | config.device_type = device_type; |
| 1603 | auto network = std::make_shared<lite::Network>(config); |
| 1604 | network->load_model(model_path); |
| 1605 | network->forward(); |
| 1606 | network->wait(); |
| 1607 | } |
| 1608 | |
| 1609 | void load_device_input( |
| 1610 | LiteDeviceType device_type, const std::string& model_path, |
no test coverage detected