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

Function model_path

tools/Polygraphy/tests/models/meta.py:27–31  ·  view source on GitHub ↗
(name=None)

Source from the content-addressed store, hash-verified

25
26
27def model_path(name=None):
28 path = os.path.abspath(os.path.dirname(__file__))
29 if name is not None:
30 path = os.path.join(path, name)
31 return path
32
33
34class Model:

Callers 1

meta.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected