Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/OpenPPL/ppq
/ quantize_onnx_model.py
File
quantize_onnx_model.py
ppq/samples/quantize_onnx_model.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
from
typing
import
Iterable
2
3
import
torch
4
from
torch.utils.data
import
DataLoader
Callers
nothing calls this directly
Calls
4
quantize_onnx_model
Function · 0.90
export_ppq_graph
Function · 0.90
trt_setting
Method · 0.80
load_calibration_dataset
Function · 0.70
Tested by
no test coverage detected