Merge pull request #44180 from OscarVanL:master
PiperOrigin-RevId: 338240256 Change-Id: I10ab32ec608f41cc95e62d1e273b85405736daba
This commit is contained in:
commit
f3a3d6fcb0
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user