diff options
author | Anna R <annarev@google.com> | 2017-09-30 16:07:29 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2017-09-30 16:18:52 -0700 |
commit | 2bc4bc1d7acca7d9b2f38902c91d697cd1e0e854 (patch) | |
tree | 1e7282d22e11a2d2d2c52f374cc250c131a3d5bf /tensorflow/tools/test | |
parent | f5f24f98571ed13fd450fc37f743b0024474e7b6 (diff) |
Internal change.
PiperOrigin-RevId: 170604029
Diffstat (limited to 'tensorflow/tools/test')
-rw-r--r-- | tensorflow/tools/test/run_and_gather_logs_lib.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tensorflow/tools/test/run_and_gather_logs_lib.py b/tensorflow/tools/test/run_and_gather_logs_lib.py index c798dd5de7..a953ed1b53 100644 --- a/tensorflow/tools/test/run_and_gather_logs_lib.py +++ b/tensorflow/tools/test/run_and_gather_logs_lib.py @@ -109,7 +109,8 @@ def run_and_gather_logs(name, test_name, test_args, Returns: A tuple (test_results, mangled_test_name), where test_results: A test_log_pb2.TestResults proto - mangled_test_name: A string, the mangled test name. + test_adjusted_name: Unique benchmark name that consists of + benchmark name optionally followed by GPU type. Raises: ValueError: If the test_name is not a valid target. @@ -168,7 +169,7 @@ def run_and_gather_logs(name, test_name, test_args, benchmark_type=benchmark_type, start_time=int(start_time), run_time=run_time, - log_files=log_files), mangled_test_name) + log_files=log_files), test_adjusted_name) finally: try: |