beautify test output file name.
authorA. Unique TensorFlower <gardener@tensorflow.org>
Wed, 30 May 2018 14:13:33 +0000 (07:13 -0700)
committerTensorFlower Gardener <gardener@tensorflow.org>
Wed, 30 May 2018 14:16:25 +0000 (07:16 -0700)
PiperOrigin-RevId: 198555383

tensorflow/contrib/lite/testing/generate_examples.py

index 0e036bd..13fafeb 100644 (file)
@@ -385,7 +385,7 @@ def make_zip_of_tests(zip_path,
   for parameters in test_parameters:
     keys = parameters.keys()
     for curr in itertools.product(*parameters.values()):
-      label = zip_path.replace(".zip", "") + (",".join(
+      label = zip_path.replace(".zip", "_") + (",".join(
           "%s=%r" % z for z in sorted(zip(keys, curr))).replace(" ", ""))
       if label[0] == "/":
         label = label[1:]