apeforest commented on a change in pull request #17642: [OpPerf] Fixed Python
profiler bug
URL: https://github.com/apache/incubator-mxnet/pull/17642#discussion_r382340355
##########
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:
I don't remember the reason why we need to write this way in the first
place. @ChaiBapchya could you please review. @connorgoggins Have you run
through existing tests to make sure this does not break any existing usage?
----------------------------------------------------------------
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