Join us at TensorFlow World, Oct 28-31. Use code TF20 for 20% off select passes. Register now

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