Deletes the path located at 'path'. Args: path: string, a path Raises: errors.OpError: Propagates any errors reported by the FileSystem API. E.g., NotFoundError if the path does not exist.
(path)
| 299 | |
| 300 | @tf_export("io.gfile.remove") |
| 301 | def delete_file_v2(path): |
| 302 | """Deletes the path located at 'path'. |
| 303 | |
| 304 | Args: |
| 305 | path: string, a path |
| 306 | |
| 307 | Raises: |
| 308 | errors.OpError: Propagates any errors reported by the FileSystem API. E.g., |
| 309 | NotFoundError if the path does not exist. |
| 310 | """ |
| 311 | pywrap_tensorflow.DeleteFile(compat.as_bytes(path)) |
| 312 | |
| 313 | |
| 314 | def read_file_to_string(filename, binary_mode=False): |
no test coverage detected