[[["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 2023-03-17 UTC."],[],[],null,["# tf.compat.v1.lite.TocoConverter\n\n\u003cbr /\u003e\n\n|--------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v2.9.3/tensorflow/lite/python/lite.py#L2808-L2859) |\n\nConvert a TensorFlow model into `output_format`.\n\nThis class has been deprecated. Please use [`lite.TFLiteConverter`](https://www.tensorflow.org/lite/api_docs/python/tf/lite/TFLiteConverter) instead.\n\nMethods\n-------\n\n### `from_frozen_graph`\n\n[View source](https://github.com/tensorflow/tensorflow/blob/v2.9.3/tensorflow/lite/python/lite.py#L2822-L2832) \n\n @classmethod\n from_frozen_graph(\n graph_def_file, input_arrays, output_arrays, input_shapes=None\n )\n\nCreates a TocoConverter class from a file containing a frozen graph. (deprecated)\n| **Deprecated:** THIS FUNCTION IS DEPRECATED. It will be removed in a future version. Instructions for updating: Use `lite.TFLiteConverter.from_frozen_graph` instead.\n\n### `from_keras_model_file`\n\n[View source](https://github.com/tensorflow/tensorflow/blob/v2.9.3/tensorflow/lite/python/lite.py#L2849-L2859) \n\n @classmethod\n from_keras_model_file(\n model_file, input_arrays=None, input_shapes=None, output_arrays=None\n )\n\nCreates a TocoConverter class from a tf.keras model file. (deprecated)\n| **Deprecated:** THIS FUNCTION IS DEPRECATED. It will be removed in a future version. Instructions for updating: Use `lite.TFLiteConverter.from_keras_model_file` instead.\n\n### `from_saved_model`\n\n[View source](https://github.com/tensorflow/tensorflow/blob/v2.9.3/tensorflow/lite/python/lite.py#L2834-L2847) \n\n @classmethod\n from_saved_model(\n saved_model_dir,\n input_arrays=None,\n input_shapes=None,\n output_arrays=None,\n tag_set=None,\n signature_key=None\n )\n\nCreates a TocoConverter class from a SavedModel. (deprecated)\n| **Deprecated:** THIS FUNCTION IS DEPRECATED. It will be removed in a future version. Instructions for updating: Use [`lite.TFLiteConverter.from_saved_model`](https://www.tensorflow.org/lite/api_docs/python/tf/lite/TFLiteConverter#from_saved_model) instead.\n\n### `from_session`\n\n[View source](https://github.com/tensorflow/tensorflow/blob/v2.9.3/tensorflow/lite/python/lite.py#L2815-L2820) \n\n @classmethod\n from_session(\n sess, input_tensors, output_tensors\n )\n\nCreates a TocoConverter class from a TensorFlow Session. (deprecated)\n| **Deprecated:** THIS FUNCTION IS DEPRECATED. It will be removed in a future version. Instructions for updating: Use `lite.TFLiteConverter.from_session` instead."]]