Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/OpenPPL/ppq
/ custimized_quant.py
File
custimized_quant.py
ppq/samples/custimized_quant.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
""
"这个脚本将教会你如何使用 PPQ 量化自定义算子"
""
2
3
import
torch
4
from
ppq
import
*
Callers
nothing calls this directly
Calls
10
generate_samples
Function · 0.85
register_operation_handler
Function · 0.85
register_network_quantizer
Function · 0.85
ENABLE_CUDA_KERNEL
Class · 0.85
load_onnx_graph
Function · 0.85
quantize_native_model
Function · 0.85
graphwise_error_analyse
Function · 0.85
export_ppq_graph
Function · 0.85
trt_setting
Method · 0.80
append
Method · 0.45
Tested by
no test coverage detected