Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/TensorRT
/ _loadYAML
Function
_loadYAML
samples/python/downloader.py:57–62 ·
view source on GitHub ↗
(yaml_path)
Source
from the content-addressed store, hash-verified
55
56
57
def
_loadYAML(yaml_path):
58
with
open(yaml_path,
"rb"
)
as
f:
59
import
yaml
60
61
y = yaml.load(f, yaml.FullLoader)
62
return
SampleData(y)
63
64
65
def
_checkMD5(path, refMD5):
Callers
2
download
Function · 0.85
verifyChecksum
Function · 0.85
Calls
2
SampleData
Class · 0.85
load
Method · 0.45
Tested by
no test coverage detected