未验证 提交 71684f98 编写于 作者: X xiebaiyuan 提交者: GitHub

fix is_lod params ,test=develop (#2258)

上级 edb4ea9a
......@@ -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"
......
......@@ -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"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册