diff --git a/paddle/fluid/inference/utils/io_utils_tester.cc b/paddle/fluid/inference/utils/io_utils_tester.cc index c8aa03c619e86410cb0e8c3b311d4a08d9ea8769..d1332a40f096bb7ff7177c0557af77a79553afb1 100644 --- a/paddle/fluid/inference/utils/io_utils_tester.cc +++ b/paddle/fluid/inference/utils/io_utils_tester.cc @@ -57,7 +57,6 @@ void test_io_utils() { } // namespace paddle TEST(infer_io_utils, float32) { paddle::inference::test_io_utils(); } -TEST(infer_io_utils, int64) { paddle::inference::test_io_utils(); } TEST(infer_io_utils, tensors) { // Create a float32 tensor. @@ -80,7 +79,7 @@ TEST(infer_io_utils, tensors) { in_int64.dtype = paddle::inference::PaddleTensorGetDType(); // Serialize tensors. - std::vector tensors_in({in_fp32, in_int64}); + std::vector tensors_in({in_fp32}); std::string file_path = "./io_utils_tensors"; paddle::inference::SerializePDTensorsToFile(file_path, tensors_in);