tf.compat.v1.lite.TocoConverter

Convert a TensorFlow model into output_format using TOCO.

This class has been deprecated. Please use lite.TFLiteConverter instead.

Methods

from_frozen_graph

View source

Creates a TocoConverter class from a file containing a frozen graph. (deprecated)

from_keras_model_file

View source

Creates a TocoConverter class from a tf.keras model file. (deprecated)

from_saved_model

View source

Creates a TocoConverter class from a SavedModel. (deprecated)

from_session

View source

Creates a TocoConverter class from a TensorFlow Session. (deprecated)

© 2020 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/versions/r2.4/api_docs/python/tf/compat/v1/lite/TocoConverter