MCPcopy Create free account
hub / github.com/NVIDIA/TensorRT / ensure_dir

Function ensure_dir

tools/tensorflow-quantization/examples/utils.py:88–95  ·  view source on GitHub ↗

Create directory is doesn't exist already. Args: dirname: Name of the directory to create.

(dirname)

Source from the content-addressed store, hash-verified

86
87
88def ensure_dir(dirname):
89 """
90 Create directory is doesn't exist already.
91 Args:
92 dirname: Name of the directory to create.
93 """
94 if not os.path.exists(dirname):
95 os.makedirs(dirname)

Callers 4

fine_tuneFunction · 0.90
mainFunction · 0.90
mainFunction · 0.90
mainFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected