TensorFlow 2.0 RC is available Learn more

Module: tf.compat.v2.lite

TensorFlow 2.0 version

Public API for tf.lite namespace.

Classes

class Interpreter: Interpreter interface for TensorFlow Lite Models.

class OpsSet: Enum class defining the sets of ops available to generate TFLite models.

class Optimize: Enum defining the optimizations to apply when generating tflite graphs.

class RepresentativeDataset: Representative dataset to evaluate optimizations.

class TFLiteConverter: Converts a TensorFlow model into TensorFlow Lite model.

class TargetSpec: Specification of target device.