Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
27
def
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
34
class
Model:
Callers
1
meta.py
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected