tf.gfile.Remove

View source on GitHub

Deletes the file located at 'filename'.

Aliases:

tf.gfile.Remove(filename)

Args:

  • filename: string, a filename

Raises:

  • errors.OpError: Propagates any errors reported by the FileSystem API. E.g., NotFoundError if the file does not exist.