Module: tf.lite
Stay organized with collections
Save and categorize content based on your preferences.
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)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-10-01 UTC.
[null,null,["Last updated 2020-10-01 UTC."],[],[],null,["# Module: tf.lite\n\n\u003cbr /\u003e\n\n|--------------------------------------------------|\n| [TensorFlow 2 version](/api_docs/python/tf/lite) |\n\nPublic API for tf.lite namespace.\n\nModules\n-------\n\n[`constants`](../tf/lite/constants) module: Public API for tf.lite.constants namespace.\n\n[`experimental`](../tf/lite/experimental) module: Public API for tf.lite.experimental namespace.\n\nClasses\n-------\n\n[`class Interpreter`](../tf/lite/Interpreter): Interpreter interface for TensorFlow Lite Models.\n\n[`class OpHint`](../tf/lite/OpHint): A class that helps build tflite function invocations.\n\n[`class OpsSet`](../tf/lite/OpsSet): Enum class defining the sets of ops available to generate TFLite models.\n\n[`class Optimize`](../tf/lite/Optimize): Enum defining the optimizations to apply when generating tflite graphs.\n\n[`class RepresentativeDataset`](../tf/lite/RepresentativeDataset): Representative dataset to evaluate optimizations.\n\n[`class TFLiteConverter`](../tf/lite/TFLiteConverter): Convert a TensorFlow model into `output_format`.\n\n[`class TargetSpec`](../tf/lite/TargetSpec): Specification of target device.\n\n[`class TocoConverter`](../tf/lite/TocoConverter): Convert a TensorFlow model into `output_format` using TOCO.\n\nFunctions\n---------\n\n[`toco_convert(...)`](../tf/lite/toco_convert): Convert a model using TOCO. (deprecated)"]]