| 52 | } // namespace |
| 53 | |
| 54 | TEST(TestNetWork, Basic) { |
| 55 | Config config; |
| 56 | auto lite_tensor = get_input_data("./input_data.npy"); |
| 57 | std::string model_path = "./shufflenet.mge"; |
| 58 | auto result_lite = mgelite_lar(model_path, config, "data", lite_tensor); |
| 59 | auto result_mgb = mgb_lar(model_path, config, "data", lite_tensor); |
| 60 | compare_lite_tensor<float>(result_lite, result_mgb); |
| 61 | } |
| 62 | |
| 63 | TEST(TestNetWork, RefCount) { |
| 64 | Config config; |
nothing calls this directly
no test coverage detected