From e7d1f5174daadcd43b2ee5d1218b1d7d0e3a892f Mon Sep 17 00:00:00 2001 From: yangfei Date: Mon, 12 Nov 2018 19:34:42 +0800 Subject: [PATCH] add cpu and gpu predict function --- src/io/paddle_test_inference_api.cpp | 1 - src/io/paddle_test_inference_api.h | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/io/paddle_test_inference_api.cpp b/src/io/paddle_test_inference_api.cpp index c3ce9d6b6a..97410ff32e 100644 --- a/src/io/paddle_test_inference_api.cpp +++ b/src/io/paddle_test_inference_api.cpp @@ -13,7 +13,6 @@ See the License for the specific language governing permissions and limitations under the License. */ #include "io/paddle_test_inference_api.h" -#include "common/types.h" #include "io/paddle_mobile.h" namespace paddle_mobile { template diff --git a/src/io/paddle_test_inference_api.h b/src/io/paddle_test_inference_api.h index 448f8f78e0..b203bac43d 100644 --- a/src/io/paddle_test_inference_api.h +++ b/src/io/paddle_test_inference_api.h @@ -20,8 +20,8 @@ limitations under the License. */ */ #pragma once +#include "common/types.h" #include "string" - namespace paddle_mobile { template class PaddleTester { -- GitLab