W3cubDocs

/TensorFlow Python

Module: tf.contrib.lite

Defined in tensorflow/contrib/lite/python/lite.py.

TensorFlow Lite tooling helper functionality.

EXPERIMENTAL: APIs here are unstable and likely to change without notice.

Classes

class OpHint: A class that helps build tflite function invocations.

Functions

convert_op_hints_to_stubs(...): Converts a graphdef with LiteOp hints into stub operations.

toco_convert(...): Convert a model using TOCO from input_format to output_format.

toco_convert_protos(...): Convert input_data_str according to model and toco parameters.

Other Members

EXPERIMENTAL_USE_TOCO_API_DIRECTLY

FLOAT

GRAPHVIZ_DOT

INT32

INT64

QUANTIZED_UINT8

STRING

TENSORFLOW_GRAPHDEF

TFLITE

__cached__

__loader__

__spec__

© 2018 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/api_docs/python/tf/contrib/lite