Missed TensorFlow Dev Summit? Check out the video playlist. Watch recordings


View source on GitHub

Returns the Tensor or CompositeTensor described by a TensorInfo proto. (deprecated)

    tensor_info, graph=None, import_scope=None


  • 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.


The Tensor or SparseTensor or CompositeTensor in graph described by tensor_info.


  • KeyError: If tensor_info does not correspond to a tensor in graph.
  • ValueError: If tensor_info is malformed.