Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/OpenPPL/ppq
/ Example_Benchmark.py
File
Example_Benchmark.py
ppq/samples/TensorRT/Example_Benchmark.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
from
ppq.utils.TensorRTUtil
import
Benchmark, Profiling
2
3
Benchmark(engine_file=
'Output/INT8.engine'
)
4
Benchmark(engine_file=
'Output/FP16.engine'
)
Callers
nothing calls this directly
Calls
1
Benchmark
Function · 0.90
Tested by
no test coverage detected