LostTech.TensorFlow : API Documentation

Type TocoConverter

Namespace tensorflow.lite

Parent PythonObjectContainer

Interfaces ITocoConverter

Convert a TensorFlow model into `output_format` using TOCO.

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

Methods

Properties

Public static methods

TClass from_frozen_graph<TClass>(object graph_def_file, IEnumerable<string> input_arrays, IEnumerable<string> output_arrays, object input_shapes)

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.

object from_keras_model_file_dyn<TClass>(object model_file, object input_arrays, object input_shapes, object output_arrays)

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.

TClass from_keras_model_file<TClass>(string model_file, object input_arrays, object input_shapes, object output_arrays)

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.

TClass from_saved_model<TClass>(object saved_model_dir, object input_arrays, object input_shapes, object output_arrays, object tag_set, object signature_key)

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.

Public properties

object PythonObject get;