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

File bert_sample.py

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

Source from the content-addressed store, hash-verified

1import torch
2
3import ppq.lib as PFL
4from ppq import TargetPlatform, TorchExecutor, graphwise_error_analyse

Callers

nothing calls this directly

Calls 15

load_onnx_graphFunction · 0.90
QuantizationPolicyClass · 0.90
TorchExecutorClass · 0.90
QuantizeFusionPassClass · 0.90
QuantAlignmentPassClass · 0.90
ParameterBakingPassClass · 0.90
ENABLE_CUDA_KERNELClass · 0.90
graphwise_error_analyseFunction · 0.90
collate_fnFunction · 0.70

Tested by

no test coverage detected