szha commented on a change in pull request #17376: [MXNET-1404] Implement 
storage tagging, the first half of the memory profiler
URL: https://github.com/apache/incubator-mxnet/pull/17376#discussion_r371608742
 
 

 ##########
 File path: python/mxnet/operator.py
 ##########
 @@ -734,7 +734,13 @@ def do_register(prop_cls):
         def creator(op_type, argc, keys, vals, ret):
             """internal function"""
             assert py_str(op_type) == reg_name
-            kwargs = dict([(py_str(keys[i]), py_str(vals[i])) for i in 
range(argc)])
+            kwargs = dict()
 
 Review comment:
   initialize dict with `kwargs = {}`

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to