Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/OpenPPL/ppq
/ Example_Fp32.py
File
Example_Fp32.py
ppq/samples/TensorRT/Example_Fp32.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
MODEL =
'model.onnx'
2
INPUT_SHAPE = [1, 3, 224, 224]
3
SAMPLES = [torch.rand(size=[INPUT_SHAPE])
for
_ in range(256)]
# rewirte this to use real data.
4
Callers
nothing calls this directly
Calls
6
EngineBuilder
Class · 0.90
convert_any_to_numpy
Function · 0.85
convert_any_to_torch_tensor
Function · 0.85
create_network
Method · 0.45
create_engine
Method · 0.45
append
Method · 0.45
Tested by
no test coverage detected