TensorFlow 2.0 Beta is available Learn more

tf.gfile.DeleteRecursively

View source on GitHub

Deletes everything under dirname recursively.

Aliases:

  • tf.compat.v1.gfile.DeleteRecursively
tf.gfile.DeleteRecursively(dirname)

Args:

  • dirname: string, a path to a directory

Raises:

  • errors.OpError: If the operation fails.