parameters: (self, name)
return_statement: return self.as_graph_element(name, allow_tensor=True, allow_operation=False)
docstring: 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.
docstring_summary: Returns the `Tensor` with the given `name`.
docstring_tokens: Returns the Tensor with the given name .
function: def get_tensor_by_name(self, name):
      """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.
      """
      # Names should be strings.
      if not isinstance(name, six.string_types):
        raise TypeError("Tensor names are strings (or similar), not %s."
                        % type(name).__name__)
      return self.as_graph_element(name, allow_tensor=True, allow_operation=False)
function_tokens: def get_tensor_by_name ( self , name ) : # Names should be strings. if not isinstance ( name , six . string_types ) : raise TypeError ( "Tensor names are strings (or similar), not %s." % type ( name ) . __name__ ) return self . as_graph_element ( name , allow_tensor = True , allow_operation = False )