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