MCPcopy
hub / github.com/OpenPPL/ppq / bestPractice.py

File bestPractice.py

ppq/samples/Tutorial/bestPractice.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1# ------------------------------------------------------------
2# PPQ 最佳实践示例工程,在这个工程中,我们将向你展示如何充分调动 PPQ 的各项功能
3# ------------------------------------------------------------
4import torch

Callers

nothing calls this directly

Calls 14

ENABLE_CUDA_KERNELClass · 0.85
quantize_torch_modelFunction · 0.85
layerwise_error_analyseFunction · 0.85
graphwise_error_analyseFunction · 0.85
TorchExecutorClass · 0.85
export_ppq_graphFunction · 0.85
convert_any_to_numpyFunction · 0.85
torch_snr_errorFunction · 0.85
default_settingMethod · 0.80
toMethod · 0.80
collate_fnFunction · 0.70

Tested by

no test coverage detected