Missed TensorFlow World? Check out the recap. Learn more

tf.lite.Optimize

TensorFlow 2.0 version View source on GitHub

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

Some optimizations may come at the cost of accuracy.

Class Members

  • DEFAULT
  • OPTIMIZE_FOR_LATENCY
  • OPTIMIZE_FOR_SIZE