MCPcopy
hub / github.com/OpenPPL/ppq / json_load

Function json_load

ppq/samples/TensorRT/create_engine.py:13–16  ·  view source on GitHub ↗
(filename)

Source from the content-addressed store, hash-verified

11 return val * 1 << 30
12
13def json_load(filename):
14 with open(filename) as json_file:
15 data = json.load(json_file)
16 return data
17
18def setDynamicRange(network, json_file):
19 """Sets ranges for network layers."""

Callers 1

setDynamicRangeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected