Zha0q1 edited a comment on issue #15069: Profiler RFC: Introducing new APIs
URL: 
https://github.com/apache/incubator-mxnet/issues/15069#issuecomment-515213970
 
 
   > optionally adding json output seems reasonable. during development of this 
feature, the intel folks were asking for more aggregation of the output, such 
as convolution ops for different input shapes, for instance, which seems 
perfectly fair (there’s a discussion issue about it somewhere). Anyway, 
whatever y’all decide to do, try to keep open the extensibility to stuff like 
that (which would lend itself more to json output than text output). However, I 
still think it’s important to have simple text output available if desired, 
since it gives a nice, clean one-look overview.
   
   Thanks for the tips! We have added support for sorting and json in this PR: 
https://github.com/apache/incubator-mxnet/pull/15132. Basically, we have added 
three new parameters to `dumps`, namely `sort_by`, `ascending`, and `format` by 
which you can control the aggregate stats output. We are keeping the old table 
view as it is clear to human; json format is intended for use cases where you 
want to parse the aggregate stats with a script

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

Reply via email to