ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more

tf.gfile.Remove

View source on GitHub

Deletes the file located at 'filename'.

filename string, a filename

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