description: Convert a TensorFlow model into output_format using TOCO.

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)

Warning: THIS FUNCTION IS DEPRECATED. It will be removed in a future version. Instructions for updating: Use lite.TFLiteConverter.from_frozen_graph instead.

from_keras_model_file

View source

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

Warning: THIS FUNCTION IS DEPRECATED. It will be removed in a future version. Instructions for updating: Use lite.TFLiteConverter.from_keras_model_file instead.

from_saved_model

View source

Creates a TocoConverter class from a SavedModel. (deprecated)

Warning: THIS FUNCTION IS DEPRECATED. It will be removed in a future version. Instructions for updating: Use lite.TFLiteConverter.from_saved_model instead.

from_session

View source

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

Warning: THIS FUNCTION IS DEPRECATED. It will be removed in a future version. Instructions for updating: Use lite.TFLiteConverter.from_session instead.