It looks easy when you read the tutorial about convert model, with 2 lines of codes. converter=tf.lite.TFLiteConverter.from_saved_model(saved_model_dir)
tflite_model=converter.convert() Yes it works, but in some conditions. Three things that you must know about TFLite Converter before you use the converter: 1. Consider the Supported types At that article, we know that TFLite converter doesn’t support string and float16, at least not yet.