tf.lite.Optimize

Enum defining the optimizations to apply when generating tflite graphs.

Compat aliases for migration

See Migration guide for more details.

tf.compat.v1.lite.Optimize

Some optimizations may come at the cost of accuracy.

Class Variables

  • DEFAULT
  • OPTIMIZE_FOR_LATENCY
  • OPTIMIZE_FOR_SIZE