You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/03/20 17:25:59 UTC

[GitHub] cjolivier01 commented on a change in pull request #10120: Update profiler example code

cjolivier01 commented on a change in pull request #10120: Update profiler example code
URL: https://github.com/apache/incubator-mxnet/pull/10120#discussion_r175855469
 
 

 ##########
 File path: docs/faq/perf.md
 ##########
 @@ -228,12 +228,12 @@ See [example/profiler](https://github.com/dmlc/mxnet/tree/master/example/profile
 for complete examples of how to use the profiler in code, but briefly, the Python code looks like:
 
 ```
-    mx.profiler.profiler_set_config(mode='all', filename='profile_output.json')
-    mx.profiler.profiler_set_state('run')
+    mx.profiler.set_config(profile_all=True, filename='profile_output.json')
+    mx.profiler.set_state('run')
 
 Review comment:
   Changing the AP*I to the new code is desired

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services