tf.compat.v1.gfile.DeleteRecursively

Deletes everything under dirname recursively.

dirname string, a path to a directory

errors.OpError If the operation fails.