mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-14 20:48:00 +00:00
Update ONNX_Runtime_Perf_Tuning.md (#1378)
This commit is contained in:
parent
f47f6fd020
commit
db61eb4cd7
1 changed files with 1 additions and 1 deletions
|
|
@ -97,7 +97,7 @@ You can enable ONNX Runtime latency profiling in code:
|
|||
import onnxruntime as rt
|
||||
|
||||
sess_options = rt.SessionOptions()
|
||||
enable_profiling.enable_profiling = True
|
||||
sess_options.enable_profiling = True
|
||||
```
|
||||
Or, if you are using the onnxruntime_perf_test.exe tool, you can add -p [profile_file] to enable performance profiling.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue