sandeep-krishnamurthy commented on a change in pull request #15132: Profiler
API Enhancements
URL: https://github.com/apache/incubator-mxnet/pull/15132#discussion_r291416644
##########
File path: python/mxnet/profiler.py
##########
@@ -148,17 +148,32 @@ def dump_profile():
dump(True)
-def dumps(reset=False):
+def dumps(reset=False, format='table', sort_by='avg', ascending=False):
"""Return a printable string of aggregate profile stats.
Parameters
----------
reset: boolean
- Indicates whether to clean aggeregate statistical data collected up to
this point
+ indicates whether to clean aggeregate statistical data collected up to
this point
+ format: string
+ whether to return the aggregate stats in table of json format
+ can take 'table' or 'json'
Review comment:
default values
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services