MCPcopy
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

8EXPLICIT_BATCH = 1 << (int)(trt.NetworkDefinitionCreationFlag.EXPLICIT_BATCH)
9
10def GiB(val):
11 return val * 1 << 30
12
13def json_load(filename):
14 with open(filename) as json_file:

Callers 1

build_engineFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected