larroy commented on a change in pull request #15606: [Opperf] Add array 
rearrange operators to opperf
URL: https://github.com/apache/incubator-mxnet/pull/15606#discussion_r306493863
 
 

 ##########
 File path: benchmark/opperf/utils/op_registry_utils.py
 ##########
 @@ -262,6 +264,26 @@ def get_all_sorting_searching_operators():
     return sort_search_mx_operators
 
 
+def get_all_rearrange_operators():
+    """Gets all array rearrange operators registered with MXNet.
+
+    Returns
+    -------
+    {"operator_name": {"has_backward", "nd_op_handle", "params"}}
+    """
+    rearrange_ops = 
['transpose','swapaxes','flip','depth_to_space','space_to_depth']
 
 Review comment:
   Thanks for clarifying this over chat. Seems there's slightly different 
logics in some of these functions.

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