Module: tf.lite

Public API for tf.lite namespace.

Modules

experimental module: Public API for tf.lite.experimental 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.

© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.4/api_docs/python/tf/lite