Skip to content

Instantly share code, notes, and snippets.

@sayakpaul
Created May 7, 2020 14:17
Show Gist options
  • Save sayakpaul/841edec21c57452990ce3e0a91e17669 to your computer and use it in GitHub Desktop.
Save sayakpaul/841edec21c57452990ce3e0a91e17669 to your computer and use it in GitHub Desktop.
converter = tf.lite.TFLiteConverter.from_keras_model(non_qat_flower_model)
converter.optimizations = [tf.lite.Optimize.DEFAULT]
quantized_tflite_model = converter.convert()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment