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/15 12:13:10 UTC

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

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

 ##########
 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:
   ```https://github.com/apache/incubator-mxnet/tree/master/example/profiler``` also need to change.

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