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

Function _load_method

tools/Polygraphy/polygraphy/json/serde.py:384–385  ·  view source on GitHub ↗
(src)

Source from the content-addressed store, hash-verified

382 save_json(self, dest, description=description)
383
384 def _load_method(src):
385 return check_decoded(load_json(src, description=description))
386
387 _load_method.__doc__ = f"""
388 Loads an instance of this class from a JSON file.

Callers

nothing calls this directly

Calls 2

check_decodedFunction · 0.85
load_jsonFunction · 0.85

Tested by

no test coverage detected