tf.compat.v1.saved_model.get_tensor_from_tensor_info
Stay organized with collections
Save and categorize content based on your preferences.
Returns the Tensor or CompositeTensor described by a TensorInfo proto. (deprecated)
tf . compat . v1 . saved_model . get_tensor_from_tensor_info (
tensor_info , graph = None , import_scope = None
)
Deprecated: THIS FUNCTION IS DEPRECATED. It will be removed in a future version.
Instructions for updating:
This API was designed for TensorFlow v1. See https://www.tensorflow.org/guide/migrate for instructions on how to migrate your code to TensorFlow v2.
Args
tensor_info
A TensorInfo proto describing a Tensor or SparseTensor or
CompositeTensor.
graph
The tf.Graph in which tensors are looked up. If None, the
current default graph is used.
import_scope
If not None, names in tensor_info
are prefixed with this
string before lookup.
Returns
The Tensor or SparseTensor or CompositeTensor in graph
described by
tensor_info
.
Raises
KeyError
If tensor_info
does not correspond to a tensor in graph
.
ValueError
If tensor_info
is malformed.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates. Some content is licensed under the numpy license .
Last updated 2023-10-06 UTC.
[[["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-10-06 UTC."],[],[]]