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

File Example_PTQ.py

ppq/samples/TensorRT/Example_PTQ.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import os
2
3import numpy as np
4import torch

Callers

nothing calls this directly

Calls 15

ENABLE_CUDA_KERNELClass · 0.90
load_torch_modelFunction · 0.90
TorchExecutorClass · 0.90
graphwise_error_analyseFunction · 0.90
export_ppq_graphFunction · 0.90
convert_any_to_numpyFunction · 0.90
build_engineFunction · 0.90
QuantizeFusionPassClass · 0.85

Tested by

no test coverage detected