From cb691d94da773c3660694e21c66778eba00df7f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=A5=87=E5=8F=AF?= Date: Mon, 10 Sep 2018 16:28:34 +0800 Subject: [PATCH] add truncate param to random input --- mace/ops/resize_bicubic_test.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mace/ops/resize_bicubic_test.cc b/mace/ops/resize_bicubic_test.cc index bfc60298..ad4669f7 100644 --- a/mace/ops/resize_bicubic_test.cc +++ b/mace/ops/resize_bicubic_test.cc @@ -133,7 +133,8 @@ void TestRandomResizeBicubic() { OpsTestNet net; // Add input data net.AddRandomInput("Input", - {batch, in_height, in_width, channels}); + {batch, in_height, in_width, channels}, + true, true); net.TransformDataFormat("Input", NHWC, "InputNCHW", NCHW); -- GitLab