MCPcopy
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
3import torch
4from ppq import *

Callers

nothing calls this directly

Calls 10

generate_samplesFunction · 0.85
ENABLE_CUDA_KERNELClass · 0.85
load_onnx_graphFunction · 0.85
quantize_native_modelFunction · 0.85
graphwise_error_analyseFunction · 0.85
export_ppq_graphFunction · 0.85
trt_settingMethod · 0.80
appendMethod · 0.45

Tested by

no test coverage detected