parameters: (logdir)
docstring: Returns the FileWriter for the specified directory.
  
      Args:
        logdir: str, name of the directory.
  
      Returns:
        A `FileWriter`.
docstring_summary: Returns the FileWriter for the specified directory.
docstring_tokens: Returns the FileWriter for the specified directory .
function: def get(logdir):
      """Returns the FileWriter for the specified directory.
  
      Args:
        logdir: str, name of the directory.
  
      Returns:
        A `FileWriter`.
      """
      with FileWriterCache._lock:
        if logdir not in FileWriterCache._cache:
          FileWriterCache._cache[logdir] = FileWriter(
              logdir, graph=ops.get_default_graph())
        return FileWriterCache._cache[logdir]
function_tokens: def get ( logdir ) : with FileWriterCache . _lock : if logdir not in FileWriterCache . _cache : FileWriterCache . _cache [ logdir ] = FileWriter ( logdir , graph = ops . get_default_graph ( ) ) return FileWriterCache . _cache [ logdir ]