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

File execute.py

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

Source from the content-addressed store, hash-verified

1# This Example shows you how to execute a quantized network and get its result.
2from typing import Iterable
3
4import torch

Callers

nothing calls this directly

Calls 7

quantize_torch_modelFunction · 0.90
TorchExecutorClass · 0.90
toMethod · 0.80
pplcuda_settingMethod · 0.80
load_calibration_datasetFunction · 0.70
forwardMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected