Missed TensorFlow World? Check out the recap. Learn more

tf.io.gfile.rmtree

tf.io.gfile.rmtree(path)

Defined in tensorflow/python/lib/io/file_io.py.

Deletes everything under path recursively.

Args:

  • path: string, a path

Raises:

  • errors.OpError: If the operation fails.