MCPcopy 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
57def _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
65def _checkMD5(path, refMD5):

Callers 2

downloadFunction · 0.85
verifyChecksumFunction · 0.85

Calls 2

SampleDataClass · 0.85
loadMethod · 0.45

Tested by

no test coverage detected