Reduce the number of concats to avoid test timeout.
authorYao Zhang <yaozhang@google.com>
Thu, 8 Feb 2018 02:11:51 +0000 (18:11 -0800)
committerTensorFlower Gardener <gardener@tensorflow.org>
Thu, 8 Feb 2018 02:15:52 +0000 (18:15 -0800)
PiperOrigin-RevId: 184929151

tensorflow/python/kernel_tests/concat_op_test.py

index a5fd3bc..127bc6b 100644 (file)
@@ -495,9 +495,9 @@ class ConcatOpTest(test.TestCase):
         p = []
         shape = np.array([7, 13])
         if test.is_gpu_available():
-          num_tensors = 10000
+          num_tensors = 5000
         else:
-          num_tensors = 1000
+          num_tensors = 500
         for i in np.arange(num_tensors):
           input_shape = shape
           placeholder = array_ops.placeholder(dtypes.float32, shape=input_shape)