From db61eb4cd7eb3365193394b7d3ae9e893b0da85e Mon Sep 17 00:00:00 2001 From: Chris Seymour Date: Thu, 18 Jul 2019 03:14:43 +0100 Subject: [PATCH] Update ONNX_Runtime_Perf_Tuning.md (#1378) --- docs/ONNX_Runtime_Perf_Tuning.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ONNX_Runtime_Perf_Tuning.md b/docs/ONNX_Runtime_Perf_Tuning.md index 32e7be449b..b0ac2e0b2c 100644 --- a/docs/ONNX_Runtime_Perf_Tuning.md +++ b/docs/ONNX_Runtime_Perf_Tuning.md @@ -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.