Update ONNX_Runtime_Perf_Tuning.md (#1378)

This commit is contained in:
Chris Seymour 2019-07-18 03:14:43 +01:00 committed by Pranav Sharma
parent f47f6fd020
commit db61eb4cd7

View file

@ -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.