[[["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 2020-10-01 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.0.0/tensorflow/lite/python/lite.py#L1037-L1087) |\n\nConvert a TensorFlow model into `output_format` using TOCO.\n\nThis class has been deprecated. Please use [`lite.TFLiteConverter`](/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.0.0/tensorflow/lite/python/lite.py#L1050-L1060) \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| **Warning:** 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.0.0/tensorflow/lite/python/lite.py#L1077-L1087) \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| **Warning:** 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.0.0/tensorflow/lite/python/lite.py#L1062-L1075) \n\n @classmethod\n from_saved_model(\n saved_model_dir, input_arrays=None, input_shapes=None, output_arrays=None,\n tag_set=None, signature_key=None\n )\n\nCreates a TocoConverter class from a SavedModel. (deprecated)\n| **Warning:** THIS FUNCTION IS DEPRECATED. It will be removed in a future version. Instructions for updating: Use [`lite.TFLiteConverter.from_saved_model`](/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.0.0/tensorflow/lite/python/lite.py#L1043-L1048) \n\n @classmethod\n from_session(\n sess, input_tensors, output_tensors\n )\n\nCreates a TocoConverter class from a TensorFlow Session. (deprecated)\n| **Warning:** THIS FUNCTION IS DEPRECATED. It will be removed in a future version. Instructions for updating: Use `lite.TFLiteConverter.from_session` instead."]]