Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
13
def
json_load(filename):
14
with
open(filename)
as
json_file:
15
data = json.load(json_file)
16
return
data
17
18
def
setDynamicRange(network, json_file):
19
""
"Sets ranges for network layers."
""
Callers
1
setDynamicRange
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected