diff --git a/mace/ops/resize_bicubic_test.cc b/mace/ops/resize_bicubic_test.cc index a834d98f387fa983fb056c3e0c61f550ab0595b4..ada126e6813394ac145d8fe4ace07f7603de1fdb 100644 --- a/mace/ops/resize_bicubic_test.cc +++ b/mace/ops/resize_bicubic_test.cc @@ -53,7 +53,7 @@ TEST_F(ResizeBicubicTest, CPUResizeBicubicWOAlignCorners) { ExpectTensorNear(*expected, *net.GetOutput("Output"), 1e-5); } -TEST_F(ResizeBicubicTest, CPUResizeBicubicWOAlignCorners1) { +TEST_F(ResizeBicubicTest, CPUResizeBicubicWOAlignCornersFloat) { testing::internal::LogToStderr(); // Construct graph OpsTestNet net; @@ -121,13 +121,13 @@ void TestRandomResizeBicubic() { testing::internal::LogToStderr(); static unsigned int seed = time(NULL); for (int round = 0; round < 10; ++round) { - int batch = 1 + rand_r(&seed) % 5; - int channels = 1 + rand_r(&seed) % 100; - int height = 1 + rand_r(&seed) % 100; - int width = 1 + rand_r(&seed) % 100; - int in_height = 1 + rand_r(&seed) % 100; - int in_width = 1 + rand_r(&seed) % 100; - int align_corners = rand_r(&seed) % 1; + int batch = 1 + rand_r(&seed) % 5; + int channels = 1 + rand_r(&seed) % 100; + int height = 1 + rand_r(&seed) % 100; + int width = 1 + rand_r(&seed) % 100; + int in_height = 1 + rand_r(&seed) % 100; + int in_width = 1 + rand_r(&seed) % 100; + int align_corners = rand_r(&seed) % 1; // Construct graph OpsTestNet net;