Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/OpenPPL/ppq
/ GiB
Function
GiB
ppq/samples/TensorRT/create_engine.py:10–11 ·
view source on GitHub ↗
(val)
Source
from the content-addressed store, hash-verified
8
EXPLICIT_BATCH = 1 << (int)(trt.NetworkDefinitionCreationFlag.EXPLICIT_BATCH)
9
10
def
GiB(val):
11
return
val * 1 << 30
12
13
def
json_load(filename):
14
with
open(filename)
as
json_file:
Callers
1
build_engine
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected