Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/OpenPPL/ppq
/ 01_Quantization.py
File
01_Quantization.py
ppq/samples/Yolo/01_Quantization.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
# 这里我们展示两种不同的方法去生成 TensorRT Engine
2
3
# Plan A: TensorRT 自己校准
4
import
glob
Callers
nothing calls this directly
Calls
3
EntropyCalibrator
Class · 0.85
create_network
Method · 0.45
parse
Method · 0.45
Tested by
no test coverage detected