Save the date! Google I/O returns May 18-20 Register now

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.