From aa021f68d4e22869af7406387187d353907e76f7 Mon Sep 17 00:00:00 2001 From: liuqi Date: Wed, 29 Nov 2017 10:30:17 +0800 Subject: [PATCH] Revert some the conv test case. --- mace/ops/conv_2d_test.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mace/ops/conv_2d_test.cc b/mace/ops/conv_2d_test.cc index 28d0faa4..864c882a 100644 --- a/mace/ops/conv_2d_test.cc +++ b/mace/ops/conv_2d_test.cc @@ -457,11 +457,11 @@ static void TestComplexConvNxNS12(const std::vector &shape) { srand(time(NULL)); // generate random input - index_t batch = 1; + index_t batch = 3 + (rand() % 10); index_t height = shape[0]; index_t width = shape[1]; - index_t input_channels = shape[2]; - index_t output_channels = shape[3]; + index_t input_channels = shape[2] + (rand() % 10); + index_t output_channels = shape[3] + (rand() % 10); // Construct graph OpsTestNet net; OpDefBuilder("Conv2D", "Conv2dTest") -- GitLab