Module: tf.lite

TensorFlow 2 version

Public API for tf.lite namespace.

Modules

constants module: Public API for tf.lite.constants namespace.

experimental module: Public API for tf.lite.experimental namespace.

Classes

class Interpreter: Interpreter interface for TensorFlow Lite Models.

class OpHint: A class that helps build tflite function invocations.

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: Convert a TensorFlow model into output_format.

class TargetSpec: Specification of target device.

class TocoConverter: Convert a TensorFlow model into output_format using TOCO.

Functions

toco_convert(...): Convert a model using TOCO. (deprecated)