Watch talks from the 2019 TensorFlow Dev Summit Watch now

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.