[[["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 2024-04-26 UTC."],[],[],null,["# tf.compat.v1.saved_model.get_tensor_from_tensor_info\n\n\u003cbr /\u003e\n\n|--------------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v2.16.1/tensorflow/python/saved_model/utils_impl.py#L143-L187) |\n\nReturns the Tensor or CompositeTensor described by a TensorInfo proto. (deprecated)\n\n#### View aliases\n\n\n**Compat aliases for migration**\n\nSee\n[Migration guide](https://www.tensorflow.org/guide/migrate) for\nmore details.\n\n[`tf.compat.v1.saved_model.utils.get_tensor_from_tensor_info`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/saved_model/get_tensor_from_tensor_info)\n\n\u003cbr /\u003e\n\n tf.compat.v1.saved_model.get_tensor_from_tensor_info(\n tensor_info, graph=None, import_scope=None\n )\n\n| **Deprecated:** THIS FUNCTION IS DEPRECATED. It will be removed in a future version. Instructions for updating: This API was designed for TensorFlow v1. See \u003chttps://www.tensorflow.org/guide/migrate\u003e for instructions on how to migrate your code to TensorFlow v2.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Args ---- ||\n|----------------|------------------------------------------------------------------------------------------|\n| `tensor_info` | A TensorInfo proto describing a Tensor or SparseTensor or CompositeTensor. |\n| `graph` | The tf.Graph in which tensors are looked up. If None, the current default graph is used. |\n| `import_scope` | If not None, names in `tensor_info` are prefixed with this string before lookup. |\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ------- ||\n|---|---|\n| The Tensor or SparseTensor or CompositeTensor in `graph` described by `tensor_info`. ||\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Raises ------ ||\n|--------------|--------------------------------------------------------------|\n| `KeyError` | If `tensor_info` does not correspond to a tensor in `graph`. |\n| `ValueError` | If `tensor_info` is malformed. |\n\n\u003cbr /\u003e"]]