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

Function create_dir_v2

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

Creates a directory with the name given by 'path'. Args: path: string, name of the directory to be created Notes: The parent directories need to exist. Use recursive_create_dir instead if there is the possibility that the parent dirs don't exist. Raises: errors.OpError: If the op

(path)

Source from the content-addressed store, hash-verified

410
411@tf_export("io.gfile.mkdir")
412def create_dir_v2(path):
413 """Creates a directory with the name given by 'path'.
414
415 Args:
416 path: string, name of the directory to be created
417 Notes: The parent directories need to exist. Use recursive_create_dir instead
418 if there is the possibility that the parent dirs don't exist.
419
420 Raises:
421 errors.OpError: If the operation fails.
422 """
423 pywrap_tensorflow.CreateDir(compat.as_bytes(path))
424
425
426@tf_export(v1=["gfile.MakeDirs"])

Callers 1

create_dirFunction · 0.85

Calls 1

CreateDirMethod · 0.45

Tested by

no test coverage detected