def remove_info_file():
  """Remove the current process's TensorBoardInfo file, if it exists.

  If the file does not exist, no action is taken and no error is raised.
  """
  try:
    os.unlink(_get_info_file_path())
  except OSError as e:
    if e.errno == errno.ENOENT:
      # The user may have wiped their temporary directory or something.
      # Not a problem: we're already in the state that we want to be in.
      pass
    else:
      raise
Remove the current process's TensorBoardInfo file, if it exists.

  If the file does not exist, no action is taken and no error is raised.