ChaiBapchya commented on a change in pull request #17642: [OpPerf] Fixed Python 
profiler bug
URL: https://github.com/apache/incubator-mxnet/pull/17642#discussion_r382762557
 
 

 ##########
 File path: benchmark/opperf/utils/profiler_utils.py
 ##########
 @@ -248,12 +248,11 @@ def python_profile(func):
     @functools.wraps(func)
     def python_profile_it(*args, **kwargs):
         runs = args[1]
-        modified_args = (args[0], 1, args[2])
 
 Review comment:
   We **do** need to modify the args to meet the requirement for capturing per 
run timing info using python's time_it function. This needs to handled in a way 
that doesn't break existing native profiler.

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