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

Function recursive_create_dir_v2

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

Creates a directory and all parent/intermediate directories. It succeeds if path already exists and is writable. Args: path: string, name of the directory to be created Raises: errors.OpError: If the operation fails.

(path)

Source from the content-addressed store, hash-verified

440
441@tf_export("io.gfile.makedirs")
442def recursive_create_dir_v2(path):
443 """Creates a directory and all parent/intermediate directories.
444
445 It succeeds if path already exists and is writable.
446
447 Args:
448 path: string, name of the directory to be created
449
450 Raises:
451 errors.OpError: If the operation fails.
452 """
453 pywrap_tensorflow.RecursivelyCreateDir(compat.as_bytes(path))
454
455
456@tf_export(v1=["gfile.Copy"])

Callers 1

recursive_create_dirFunction · 0.85

Calls 1

RecursivelyCreateDirMethod · 0.45

Tested by

no test coverage detected