Merge pull request #44180 from OscarVanL:master

PiperOrigin-RevId: 338240256
Change-Id: I10ab32ec608f41cc95e62d1e273b85405736daba
This commit is contained in:
TensorFlower Gardener 2020-10-21 04:48:32 -07:00
commit f3a3d6fcb0

View File

@ -74,7 +74,7 @@ import tensorflow as tf
# Convert the model
converter = tf.lite.TFLiteConverter.from_saved_model(saved_model_dir) # path to the SavedModel directory
tflite_model = converter.convert().
tflite_model = converter.convert()
# Save the model.
with open('model.tflite', 'wb') as f: