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

Function make_path

tools/Polygraphy/tests/tools/conftest.py:85–90  ·  view source on GitHub ↗
(prefix, *args)

Source from the content-addressed store, hash-verified

83 with tempfile.TemporaryDirectory() as dir:
84
85 def make_path(prefix, *args):
86 path = os.path.join(dir, prefix)
87 if request.param:
88 path = os.path.join(path, request.param)
89 path = os.path.join(path, *args)
90 return path
91
92 # Good tactics
93 save_json(make_replay(0), make_path("good", "0.json"))

Callers 1

replay_dirFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected