File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
python/tvm/relay/transform Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 6565 "scatter" ,
6666 "full" ,
6767 "dyn.full" ,
68+ "nn.depth_to_space" ,
6869 # Comparison
6970 "less" ,
7071 "greater" ,
8889 "min" ,
8990 "maximum" ,
9091 "minimum" ,
92+ "argmax" ,
93+ "argmin" ,
9194 "nn.relu" ,
9295 "nn.leaky_relu" ,
9396 "nn.prelu" ,
9497 "nn.dropout" ,
9598 # Complicated activations which saturate in a narrow range
9699 "sigmoid" ,
97100 "tanh" ,
101+ "fast_tanh" , # Some coefficients outside of representable range, but probably ok
102+ "fast_exp" ,
103+ "fast_erf" ,
104+ "clip" , # Usually safe, may result in oddity if clip greater than fp16 range
98105 # Pooling operations
99106 "nn.max_pool1d" ,
100107 "nn.max_pool2d" ,
108115 "nn.adaptive_max_pool1d" ,
109116 "nn.adaptive_max_pool2d" ,
110117 "nn.adaptive_max_pool3d" ,
118+ "image.resize2d" ,
111119]
112120DEFAULT_NEVER_LIST = [
113121 # In general if |f(x)| >> |x| for expected inputs then put the op here.
134142 "nn.layer_norm" ,
135143]
136144
137-
138145# Returns a decorator which registers for every given op, the function under FTVMMixedPrecisionConversionType
139146def register_func_to_op_list (list_ops : List ):
140147 def decorator (func ):
You can’t perform that action at this time.
0 commit comments