This is an automated email from the ASF dual-hosted git repository.

apeforest pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git


The following commit(s) were added to refs/heads/master by this push:
     new 5a4c01b  [Opperf] Filter out deprecated ops (#15541)
5a4c01b is described below

commit 5a4c01bac9afd4e75227a0b4b1231bceffb204df
Author: Chaitanya Prakash Bapat <chai.ba...@gmail.com>
AuthorDate: Thu Aug 15 23:45:44 2019 -0700

    [Opperf] Filter out deprecated ops (#15541)
    
    * normal, uniform ops
    
    * Revert "normal, uniform ops"
    
    This reverts commit f8d6f9583da859e1f5053c2689eafae5c3031553.
    
    * filter out deprecated ops
    
    * Trigger notification
    
    * additional deprecated ops
    
    * Trigger notification
    
    * Trigger notification
    
    * Trigger notification
---
 benchmark/opperf/utils/op_registry_utils.py | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/benchmark/opperf/utils/op_registry_utils.py 
b/benchmark/opperf/utils/op_registry_utils.py
index 860b83a..207895d 100644
--- a/benchmark/opperf/utils/op_registry_utils.py
+++ b/benchmark/opperf/utils/op_registry_utils.py
@@ -37,6 +37,8 @@ def _select_ops(operator_names, filters=("_contrib", "_"), 
merge_op_forward_back
     By default, filter out all Contrib operators that starts with '_contrib' 
and internal operators that
     starts with '_'.
 
+    Note - All deprecated operators are filtered out as well.
+
     Parameters
     ----------
     operator_names: List[str]
@@ -53,6 +55,11 @@ def _select_ops(operator_names, filters=("_contrib", "_"), 
merge_op_forward_back
     mx_operators = {}
     operators_with_backward = []
 
+    # Filter out deprecated operators
+    filters += ("normal", "uniform", "BatchNorm_v1", "Flatten", 
"contrib_CTCLoss", "Pad", "Cast",
+                "Pooling_v1", "Concat", "Reshape", "Convolution_v1", 
"SliceChannel", "Crop",
+                "crop", "onehot_encode")
+
     if merge_op_forward_backward:
         filters += ("_backward",)
 

Reply via email to