aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/lite/testing/generate_examples.py
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2018-05-30 07:13:33 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-05-30 07:16:25 -0700
commit1d2b40c2fd00acc2262554d3bf6e7368125db25b (patch)
tree6cd50ffb7a4383e70f31cc00622b6e5e9fcb6da8 /tensorflow/contrib/lite/testing/generate_examples.py
parent786ad688b7378aac40be8c785f7e69a0b0fb0223 (diff)
beautify test output file name.
PiperOrigin-RevId: 198555383
Diffstat (limited to 'tensorflow/contrib/lite/testing/generate_examples.py')
-rw-r--r--tensorflow/contrib/lite/testing/generate_examples.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/contrib/lite/testing/generate_examples.py b/tensorflow/contrib/lite/testing/generate_examples.py
index 0e036bda92..13fafebd1d 100644
--- a/tensorflow/contrib/lite/testing/generate_examples.py
+++ b/tensorflow/contrib/lite/testing/generate_examples.py
@@ -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:]