Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/OpenPPL/ppq
/ quantize.py
File
quantize.py
ppq/samples/Tutorial/quantize.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
from
typing
import
Iterable, Tuple
2
3
import
torch
4
Callers
nothing calls this directly
Calls
14
load_onnx_graph
Function · 0.90
dispatch_graph
Function · 0.90
quantize_onnx_model
Function · 0.90
TorchExecutor
Class · 0.90
graphwise_error_analyse
Function · 0.90
export_ppq_graph
Function · 0.90
convert_any_to_numpy
Function · 0.90
convert_any_to_torch_tensor
Function · 0.90
torch_snr_error
Function · 0.90
generate_calibration_dataset
Function · 0.85
default_setting
Method · 0.80
collate_fn
Function · 0.70
Tested by
no test coverage detected