提交 e2f3e4d9 编写于 作者: B baolei.an

[LITE][BM] fix lint error,test=develop

上级 4524138a
...@@ -14,8 +14,8 @@ ...@@ -14,8 +14,8 @@
#include <gflags/gflags.h> #include <gflags/gflags.h>
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include <pthread.h>
#include <fstream> #include <fstream>
#include <thread> //NOLINT
#include <vector> #include <vector>
#include "lite/api/cxx_api.h" #include "lite/api/cxx_api.h"
#include "lite/api/paddle_use_kernels.h" #include "lite/api/paddle_use_kernels.h"
...@@ -31,8 +31,8 @@ DEFINE_string(input_img_txt_path, ...@@ -31,8 +31,8 @@ DEFINE_string(input_img_txt_path,
namespace paddle { namespace paddle {
namespace lite { namespace lite {
const int g_batch_size = 4; const int g_batch_size = 1;
const int g_thread_num = 10; const int g_thread_num = 1;
void instance_run() { void instance_run() {
lite::Predictor predictor; lite::Predictor predictor;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册