tf.gfile.Remove

Deletes the file located at 'filename'.

Compat aliases for migration

See Migration guide for more details.

tf.compat.v1.gfile.Remove

filename string, a filename

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