@@ -48,15 +48,15 @@ def __contains__(self, op):
48
48
]
49
49
50
50
SUPPORTS_DYNAMIC_SHAPE = [
51
- # Binary broadcasting operators
51
+ # Binary broadcasting
52
52
exir_ops .edge .aten .add .Tensor ,
53
53
exir_ops .edge .aten .sub .Tensor ,
54
54
exir_ops .edge .aten .minimum .default ,
55
55
exir_ops .edge .aten .mul .Tensor ,
56
56
exir_ops .edge .aten .div .Tensor ,
57
57
exir_ops .edge .aten .div .Tensor_mode ,
58
58
exir_ops .edge .aten .pow .Tensor_Tensor ,
59
- # Unary elementwise operators
59
+ # Unary elementwise
60
60
exir_ops .edge .aten .abs .default ,
61
61
exir_ops .edge .aten .clamp .default ,
62
62
exir_ops .edge .aten .cos .default ,
@@ -70,46 +70,46 @@ def __contains__(self, op):
70
70
exir_ops .edge .aten .sin .default ,
71
71
exir_ops .edge .aten .sqrt .default ,
72
72
exir_ops .edge .aten .tanh .default ,
73
- # Matrix Multiplication Operators
73
+ # Matrix Multiplication
74
74
exir_ops .edge .aten .bmm .default ,
75
75
exir_ops .edge .aten .mm .default ,
76
76
exir_ops .edge .aten .addmm .default ,
77
77
exir_ops .edge .aten .linear .default ,
78
- # Reduction operators
78
+ # Reduction
79
79
exir_ops .edge .aten ._log_softmax .default ,
80
80
exir_ops .edge .aten ._softmax .default ,
81
- # 2D Pooling ops
81
+ # 2D Pooling
82
82
exir_ops .edge .aten .avg_pool2d .default ,
83
83
exir_ops .edge .aten .max_pool2d_with_indices .default ,
84
- # Convolution ops
84
+ # Convolution
85
85
exir_ops .edge .aten .convolution .default ,
86
86
exir_ops .edge .et_vk .conv_with_clamp .default ,
87
87
]
88
88
89
89
NO_DYNAMIC_SHAPE = [
90
- # Reduction operators
90
+ # Reduction
91
91
exir_ops .edge .aten .mean .dim ,
92
92
exir_ops .edge .aten .sum .dim_IntList ,
93
- # Normalization operators
93
+ # Normalization
94
94
exir_ops .edge .aten ._native_batch_norm_legit_no_training .default ,
95
95
exir_ops .edge .aten .native_layer_norm .default ,
96
- # Shape Manipulation operators
96
+ # Shape Manipulation
97
97
exir_ops .edge .aten .squeeze_copy .dims ,
98
98
exir_ops .edge .aten .unsqueeze_copy .default ,
99
99
exir_ops .edge .aten .view_copy .default ,
100
100
exir_ops .edge .aten .permute_copy .default ,
101
101
exir_ops .edge .aten .t_copy .default ,
102
- # Indexing and lookup operators
102
+ # Indexing and lookup
103
103
exir_ops .edge .aten .embedding .default ,
104
104
exir_ops .edge .aten .index_select .default ,
105
105
exir_ops .edge .aten .select_copy .int ,
106
106
exir_ops .edge .aten .slice_copy .Tensor ,
107
- # Tensor combination operators
107
+ # Tensor combination
108
108
exir_ops .edge .aten .cat .default ,
109
109
exir_ops .edge .aten .split_with_sizes_copy .default ,
110
110
exir_ops .edge .aten .split .Tensor ,
111
111
exir_ops .edge .aten .repeat .default ,
112
- # Tensor creation operators
112
+ # Tensor creation
113
113
exir_ops .edge .aten .arange .start_step ,
114
114
exir_ops .edge .aten .clone .default ,
115
115
exir_ops .edge .aten .constant_pad_nd .default ,
0 commit comments