Introducing LiteRT : Google's high-performance runtime for on-device AI, formerly known as TensorFlow Lite.
Learn more
Send feedback
Module: mediapipe_model_maker.model_util
Utilities for models.
Modules
dataset
module: Common dataset for model training and evaluation.
quantization
module: Libraries for post-training quantization.
Classes
class LiteRunner
: A runner to do inference with the TFLite model.
class WarmUp
: Applies a warmup schedule on a given learning rate decay schedule.
Functions
convert_to_tflite(...)
: Converts the input Keras model to TFLite format.
convert_to_tflite_from_file(...)
: Converts the input Keras model to TFLite format.
get_default_callbacks(...)
: Gets default callbacks.
get_lite_runner(...)
: Returns a LiteRunner
from flatbuffer of the TFLite model.
get_steps_per_epoch(...)
: Gets the estimated training steps per epoch.
load_keras_model(...)
: Loads a tensorflow Keras model from file and returns the Keras model.
load_tflite_model_buffer(...)
: Loads a TFLite model buffer from file.
save_tflite(...)
: Saves TFLite file to tflite_file.
Other Members
DEFAULT_SCALE
0
DEFAULT_ZERO_POINT
0
ESTIMITED_STEPS_PER_EPOCH
1000
absolute_import
Instance of __future__._Feature
division
Instance of __future__._Feature
print_function
Instance of __future__._Feature
Send feedback
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 2024-05-07 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-05-07 UTC."],[],[]]