Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/OpenPPL/ppq
/ execute.py
File
execute.py
ppq/samples/Tutorial/execute.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
# This Example shows you how to execute a quantized network and get its result.
2
from
typing
import
Iterable
3
4
import
torch
Callers
nothing calls this directly
Calls
7
quantize_torch_model
Function · 0.90
TorchExecutor
Class · 0.90
to
Method · 0.80
pplcuda_setting
Method · 0.80
load_calibration_dataset
Function · 0.70
forward
Method · 0.45
append
Method · 0.45
Tested by
no test coverage detected