LLVM 20.0.0git
saved Namespace Reference

-model-to-tflite More...

Detailed Description

-model-to-tflite

Convert a saved model to tflite model.

Usage: python3 saved-model-to-tflite.py <mlgo saved_model_dir> <tflite dest_dir>

The <tflite dest_dir> will contain:
  model.tflite: this is the converted saved model
  output_spec.json: the output spec, copied from the saved_model dir.