MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / delete_file

Function delete_file

tensorflow/python/lib/io/file_io.py:287–297  ·  view source on GitHub ↗

Deletes the file located at 'filename'. Args: filename: string, a filename Raises: errors.OpError: Propagates any errors reported by the FileSystem API. E.g., NotFoundError if the file does not exist.

(filename)

Source from the content-addressed store, hash-verified

285
286@tf_export(v1=["gfile.Remove"])
287def delete_file(filename):
288 """Deletes the file located at 'filename'.
289
290 Args:
291 filename: string, a filename
292
293 Raises:
294 errors.OpError: Propagates any errors reported by the FileSystem API. E.g.,
295 NotFoundError if the file does not exist.
296 """
297 delete_file_v2(filename)
298
299
300@tf_export("io.gfile.remove")

Callers 1

Calls 1

delete_file_v2Function · 0.85

Tested by

no test coverage detected