From c4101036a855086c5664891475f27dfaea39ff09 Mon Sep 17 00:00:00 2001 From: Meghna Natraj Date: Thu, 9 Apr 2020 12:06:33 -0700 Subject: [PATCH] Fix python binary descriptions PiperOrigin-RevId: 305731938 Change-Id: I1389cdfeaf5606aa6e36267e2df94427dadc5628 --- tensorflow/lite/tools/randomize_weights.py | 6 ++++-- tensorflow/lite/tools/strip_strings.py | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/tensorflow/lite/tools/randomize_weights.py b/tensorflow/lite/tools/randomize_weights.py index 84bbe3955a7..b68bdbb180b 100644 --- a/tensorflow/lite/tools/randomize_weights.py +++ b/tensorflow/lite/tools/randomize_weights.py @@ -12,10 +12,12 @@ # See the License for the specific language governing permissions and # limitations under the License. # ============================================================================== -"""Randomize all weights in a tflite file. +r"""Randomize all weights in a tflite file. Example usage: -python randomize_weights.py foo.tflite foo_randomized.tflite +python randomize_weights.py \ + --input_tflite_file=foo.tflite \ + --output_tflite_file=foo_randomized.tflite """ from __future__ import absolute_import diff --git a/tensorflow/lite/tools/strip_strings.py b/tensorflow/lite/tools/strip_strings.py index cc88562caf1..e24d2b737c5 100644 --- a/tensorflow/lite/tools/strip_strings.py +++ b/tensorflow/lite/tools/strip_strings.py @@ -12,10 +12,12 @@ # See the License for the specific language governing permissions and # limitations under the License. # ============================================================================== -"""Strips all nonessential strings from a tflite file. +r"""Strips all nonessential strings from a tflite file. Example usage: -python strip_strings.py foo.tflite foo_stripped.tflite +python strip_strings.py \ + --input_tflite_file=foo.tflite \ + --output_tflite_file=foo_stripped.tflite """ from __future__ import absolute_import