tf.compat.v1.gfile.Remove

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.