提交 56ec9579 编写于 作者: H hjchen2

Merge branch 'backup' of https://github.com/hjchen2/paddle-mobile into backup

...@@ -54,7 +54,7 @@ int main(int argc, char* argv[]) { ...@@ -54,7 +54,7 @@ int main(int argc, char* argv[]) {
paddle_mobile::framework::DDim in_shape = paddle_mobile::framework::DDim in_shape =
paddle_mobile::framework::make_ddim(dims); paddle_mobile::framework::make_ddim(dims);
SetupTensor<float>(&input, in_shape, 0.f, 255.f); SetupTensor<float>(&input, in_shape, 0.f, 255.f);
// // warmup // warmup
for (int i = 0; i < 2; ++i) { for (int i = 0; i < 2; ++i) {
paddle_mobile.Predict(input); paddle_mobile.Predict(input);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册