TensorFlow 2.0 Beta is available Learn more

tf.lite.Optimize

Class Optimize

Enum defining the optimizations to apply when generating tflite graphs.

Aliases:

  • Class tf.compat.v1.lite.Optimize
  • Class tf.compat.v2.lite.Optimize
  • Class tf.lite.Optimize
View source on GitHub

Some optimizations may come at the cost of accuracy.

Class Members

  • DEFAULT
  • OPTIMIZE_FOR_LATENCY
  • OPTIMIZE_FOR_SIZE