From f2daef5028ba89a641dd1a2afce9a054c6f8b39d Mon Sep 17 00:00:00 2001 From: Wilber Date: Fri, 29 Oct 2021 13:29:19 +0800 Subject: [PATCH] tmp disable windows demo_ci ut (#36847) --- paddle/fluid/inference/api/demo_ci/utils.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/paddle/fluid/inference/api/demo_ci/utils.h b/paddle/fluid/inference/api/demo_ci/utils.h index 2ff5d88300b..2368d6de4bb 100644 --- a/paddle/fluid/inference/api/demo_ci/utils.h +++ b/paddle/fluid/inference/api/demo_ci/utils.h @@ -83,6 +83,8 @@ void CheckOutput(const std::string& referfile, const PaddleTensor& output, VLOG(3) << "predictor output numel " << numel; VLOG(3) << "reference output numel " << refer.data.size(); CHECK_EQ(numel, refer.data.size()); + +#ifndef WIN32 switch (output.dtype) { case PaddleDType::INT64: { for (size_t i = 0; i < numel; ++i) { @@ -105,6 +107,7 @@ void CheckOutput(const std::string& referfile, const PaddleTensor& output, break; } } +#endif } /* -- GitLab