tensorflow / 2.9.1 / compat / v1 / lite.html /

Module: tf.compat.v1.lite

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 running TensorFlow Lite models.

class OpHint: A class that helps build tflite function invocations. (deprecated)

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

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

class RepresentativeDataset: Representative dataset used to optimize the model.

class TFLiteConverter: Convert a TensorFlow model into output_format.

class TargetSpec: Specification of target device used to optimize the model.

class TocoConverter: Convert a TensorFlow model into output_format.

Functions

toco_convert(...): Convert a TensorFlow GraphDef to TFLite. (deprecated)

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