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

Function create_dir

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

Creates a directory with the name 'dirname'. Args: dirname: 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 opera

(dirname)

Source from the content-addressed store, hash-verified

395
396@tf_export(v1=["gfile.MkDir"])
397def create_dir(dirname):
398 """Creates a directory with the name 'dirname'.
399
400 Args:
401 dirname: string, name of the directory to be created
402 Notes: The parent directories need to exist. Use recursive_create_dir instead
403 if there is the possibility that the parent dirs don't exist.
404
405 Raises:
406 errors.OpError: If the operation fails.
407 """
408 create_dir_v2(dirname)
409
410
411@tf_export("io.gfile.mkdir")

Callers

nothing calls this directly

Calls 1

create_dir_v2Function · 0.85

Tested by

no test coverage detected