ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more

tf.lite.Optimize

TensorFlow 2 version View source on GitHub

Enum defining the optimizations to apply when generating tflite graphs.

Some optimizations may come at the cost of accuracy.

Class Variables

  • DEFAULT
  • OPTIMIZE_FOR_LATENCY
  • OPTIMIZE_FOR_SIZE