diff --git a/mobile/test/net/test_net.cpp b/mobile/test/net/test_net.cpp index 0251d774dd457195341fd53ba27add3903ee2c63..3d5386513be09adc50b153bde6335f7cac00c107 100644 --- a/mobile/test/net/test_net.cpp +++ b/mobile/test/net/test_net.cpp @@ -102,7 +102,8 @@ void test(int argc, char *argv[]) { auto time1 = time(); if (paddle_mobile.Load("./checked_model/model", "./checked_model/params", - fuse, quantification, 1, true, quantification_fold)) { + fuse, quantification, 1, is_lod, + quantification_fold)) { auto time2 = time(); std::cout << "auto-test" << " load-time-cost :" << time_diff(time1, time2) << "ms" diff --git a/mobile/test/net/test_net_performance.cpp b/mobile/test/net/test_net_performance.cpp index d16164757e0eb65eaba0039233971cd6d9c2406c..678558d602e2926e6a1f6786bb95281828ff3677 100644 --- a/mobile/test/net/test_net_performance.cpp +++ b/mobile/test/net/test_net_performance.cpp @@ -108,7 +108,8 @@ void test(int argc, char *argv[]) { auto time1 = time(); if (paddle_mobile.Load("./checked_model/model", "./checked_model/params", - fuse, quantification, 1, true, quantification_fold)) { + fuse, quantification, 1, is_lod, + quantification_fold)) { auto time2 = time(); std::cout << "auto-test" << " load-time-cost :" << time_diff(time1, time2) << "ms"