Back to Tensorflow

Module: tf.lite

tensorflow/lite/g3doc/api_docs/python/tf/lite.md

2.21.01.3 KB
Original Source

page_type: reference description: Public API for tf.lite namespace.

<link rel="stylesheet" href="/site-assets/css/style.css"> <!-- DO NOT EDIT! Automatically generated file. --> <div itemscope itemtype="http://developers.google.com/ReferenceObject"> <meta itemprop="name" content="tf.lite" /> <meta itemprop="path" content="Stable" /> </div>

Module: tf.lite

<!-- Insert buttons and diff --> <table class="tfo-notebook-buttons tfo-api nocontent" align="left"> </table>

Public API for tf.lite namespace.

Modules

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

Classes

class Interpreter: Interpreter interface for running 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 a tflite model.

class RepresentativeDataset: Representative dataset used to optimize the model.

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

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