tf.Graph().get_tensor_by_name

get_tensor_by_name(name) method of tensorflow.python.framework.ops.Graph instance
    Returns the `Tensor` with the given `name`.
    
    This method may be called concurrently from multiple threads.
    
    Args:
      name: The name of the `Tensor` to return.
    
    Returns:
      The `Tensor` with the given `name`.
    
    Raises:
      TypeError: If `name` is not a string.
      KeyError: If `name` does not correspond to a tensor in this graph.
上一篇:SET XACT_ABORT ON 数据库事务


下一篇:tf.get_default_graph