You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

operation-param-weight-table.md 6.3 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295
  1. |operation|param id|param phase|default value|weight order|
  2. |:---:|:---:|:---:|:---:|:---:|
  3. |AbsVal|||
  4. |ArgMax TODO|||
  5. |BatchNorm|0|channels|0|slope mean variance bias|
  6. ||1|eps|0.f|
  7. |Bias|0|bias_data_size|0|
  8. |BinaryOp|0|op_type|0|
  9. ||1|with_scalar|0|
  10. ||2|b|0.f|
  11. |BNLL|||
  12. |Cast|0|type_from|0|
  13. ||1|type_to|0|
  14. |Clip|0|min|-FLT_MAX|
  15. ||1|max|FLT_MAX|
  16. |Concat|0|axis|0|
  17. |Convolution|0|num_output|0|weight bias|
  18. ||1|kernel_w|0|
  19. ||2|dilation_w|1|
  20. ||3|stride_w|1|
  21. ||4|pad_left|0|
  22. ||5|bias_term|0|
  23. ||6|weight_data_size|0|
  24. ||8|int8_scale_term|0|
  25. ||9|activation_type|0|
  26. ||10|activation_params|[ ]|
  27. ||11|kernel_h|kernel_w|
  28. ||12|dilation_h|dilation_w|
  29. ||13|stride_h|stride_w|
  30. ||15|pad_right|pad_left|
  31. ||14|pad_top|pad_left|
  32. ||16|pad_bottom|pad_top|
  33. ||17|impl_type|0|
  34. ||18|pad_value|0.f|
  35. |ConvolutionDepthWise|0|num_output|0|weight bias|
  36. ||1|kernel_w|0|
  37. ||2|dilation_w|1|
  38. ||3|stride_w|1|
  39. ||4|pad_left|0|
  40. ||5|bias_term|0|
  41. ||6|weight_data_size|0|
  42. ||7|group|1|
  43. ||8|int8_scale_term|0|
  44. ||9|activation_type|0|
  45. ||10|activation_params|[ ]|
  46. ||11|kernel_h|kernel_w|
  47. ||12|dilation_h|dilation_w|
  48. ||13|stride_h|stride_w|
  49. ||15|pad_right|pad_left|
  50. ||14|pad_top|pad_left|
  51. ||16|pad_bottom|pad_top|
  52. ||18|pad_value|0.f|
  53. |Crop|0|woffset|0|
  54. ||1|hoffset|0|
  55. ||2|coffset|0|
  56. ||3|outw|0|
  57. ||4|outh|0|
  58. ||5|outc|0|
  59. ||6|woffset2|0|
  60. ||7|hoffset2|0|
  61. ||8|coffset2|0|
  62. ||9|starts|[ ]|
  63. ||10|ends|[ ]|
  64. ||11|axes|[ ]|
  65. |Deconvolution|0|num_output|0|weight bias|
  66. ||1|kernel_w|0|
  67. ||2|dilation_w|1|
  68. ||3|stride_w|1|
  69. ||4|pad_left|0|
  70. ||5|bias_term|0|
  71. ||6|weight_data_size|0|
  72. ||9|activation_type|0|
  73. ||10|activation_params|[ ]|
  74. ||11|kernel_h|kernel_w|
  75. ||12|dilation_h|dilation_w|
  76. ||13|stride_h|stride_w|
  77. ||15|pad_right|pad_left|
  78. ||14|pad_top|pad_left|
  79. ||16|pad_bottom|pad_top|
  80. ||18|output_pad_right|0|
  81. ||19|output_pad_bottom|output_pad_right|
  82. ||20|output_w|0|
  83. ||21|output_h|output_w|
  84. |DeconvolutionDepthWise|0|num_output|0|weight bias|
  85. ||1|kernel_w|0|
  86. ||2|dilation_w|1|
  87. ||3|stride_w|1|
  88. ||4|pad_left|0|
  89. ||5|bias_term|0|
  90. ||6|weight_data_size|0|
  91. ||7|group|1|
  92. ||9|activation_type|0|
  93. ||10|activation_params|[ ]|
  94. ||11|kernel_h|kernel_w|
  95. ||12|dilation_h|dilation_w|
  96. ||13|stride_h|stride_w|
  97. ||15|pad_right|pad_left|
  98. ||14|pad_top|pad_left|
  99. ||16|pad_bottom|pad_top|
  100. ||18|output_pad_right|0|
  101. ||19|output_pad_bottom|output_pad_right|
  102. ||20|output_w|0|
  103. ||21|output_h|output_w|
  104. |Dequantize|0|scale|1.f|bias|
  105. ||1|bias_term|0|
  106. ||2|bias_data_size|0|
  107. |DetectionOutput|0|num_class|0|
  108. ||1|nms_threshold|0.05f|
  109. ||2|nms_top_k|300|
  110. ||3|keep_top_k|100|
  111. ||4|confidence_threshold|0.5f|
  112. ||5|variances[0]|0.1f|
  113. ||6|variances[1]|0.1f|
  114. ||7|variances[2]|0.2f|
  115. ||8|variances[3]|0.2f|
  116. |Dropout|0|scale|1.f|
  117. |Eltwise|0|op_type|0|
  118. ||1|coeffs|[ ]|
  119. |ELU|0|alpha|0.1f|
  120. |Embed|0|num_output|0|weight bias|
  121. ||1|input_dim|0|
  122. ||2|bias_term|0|
  123. ||3|weight_data_size|0|
  124. |Exp|0|base|-1.f|
  125. ||1|scale|1.f|
  126. ||2|shift|0.f|
  127. |ExpandDims|0|expand_w|0|
  128. ||1|expand_h|0|
  129. ||2|expand_c|0|
  130. ||3|axes|[ ]|
  131. |Flatten|||
  132. |HardSigmoid|0|alpha|0.2f||
  133. ||1|beta|0.5f|
  134. |HardSwish|0|alpha|0.2f||
  135. ||1|beta|0.5f|
  136. |InnerProduct|0|num_output|0|weight bias|
  137. ||1|bias_term|0|
  138. ||2|weight_data_size|0|
  139. ||8|int8_scale_term|0|
  140. ||9|activation_type|0|
  141. ||10|activation_params|[ ]|
  142. |Input|0|w|0|
  143. ||1|h|0|
  144. ||2|c|0|
  145. |InstanceNorm|0|channels|0|gamma bias|
  146. ||1|eps|0.001f|
  147. |Interp|0|resize_type|0|
  148. ||1|height_scale|1.f|
  149. ||2|width_scale|1.f|
  150. ||3|output_height|0|
  151. ||4|output_width|0|
  152. |Log|0|base|-1.f|
  153. ||1|scale|1.f|
  154. ||2|shift|0.f|
  155. |LRN|0|region_type|0|
  156. ||1|local_size|5|
  157. ||2|alpha|1.f|
  158. ||3|beta|0.75f|
  159. ||4|bias|1.f|
  160. |LSTM|0|num_output|0|
  161. ||1|weight_data_size|1|
  162. ||2|direction|0|
  163. |MemoryData|0|w|0|
  164. ||1|h|0|
  165. ||2|c|0|
  166. |Mish|||
  167. |MVN|0|normalize_variance|0|
  168. ||1|across_channels|0|
  169. ||2|eps|0.0001f|
  170. |Noop|||
  171. |Normalize|0|across_spatial|0|scale|
  172. ||4|across_channel|0|
  173. ||1|channel_shared|0|
  174. ||2|eps|0.0001f|
  175. ||9|eps_mode|0|
  176. ||3|scale_data_size|0|
  177. |Packing|0|out_packing|1|
  178. ||1|use_padding|0|
  179. ||2|cast_type_from|0|
  180. ||3|cast_type_to|0|
  181. ||4|storage_type_from|0|
  182. ||5|storage_type_to|0|
  183. |Padding|0|top|0|per_channel_pad_data|
  184. ||1|bottom|0|
  185. ||2|left|0|
  186. ||3|right|0|
  187. ||4|type|0|
  188. ||5|value|0.f|
  189. ||6|per_channel_pad_data_size|0|
  190. ||7|front|0|
  191. ||8|behind|0|
  192. |Permute|0|order_type|0|
  193. |PixelShuffle|0|upscale_factor|1|
  194. |Pooling|0|pooling_type|0|
  195. ||1|kernel_w|0|
  196. ||11|kernel_h|kernel_w|
  197. ||2|stride_w|1|
  198. ||12|stride_h|stride_w|
  199. ||3|pad_left|0|
  200. ||14|pad_right|pad_left|
  201. ||13|pad_top|pad_left|
  202. ||15|pad_bottom|pad_top|
  203. ||4|global_pooling|0|
  204. ||5|pad_mode|0|
  205. |Power|0|power|1.f|
  206. ||1|scale|1.f|
  207. ||2|shift|0.f|
  208. |PReLU|0|num_slope|0|slope|
  209. |PriorBox|0|min_sizes|[ ]|
  210. ||1|max_sizes|[ ]|
  211. ||2|aspect_ratios|[ ]|
  212. ||3|varainces[0]|0.f|
  213. ||4|varainces[1]|0.f|
  214. ||5|varainces[2]|0.f|
  215. ||6|varainces[3]|0.f|
  216. ||7|flip|1|
  217. ||8|clip|0|
  218. ||9|image_width|0|
  219. ||10|image_height|0|
  220. ||11|step_width|-233.f|
  221. ||12|step_height|-233.f|
  222. ||13|offset|0.f|
  223. ||14|step_mmdetection|0|
  224. ||15|center_mmdetection|0|
  225. |Proposal|0|feat_stride|16|
  226. ||1|base_size|16|
  227. ||2|pre_nms_topN|6000|
  228. ||3|after_nms_topN|300|
  229. ||4|num_thresh|0.7f|
  230. ||5|min_size|16|
  231. |PSROIPooling|0|pooled_width|7|
  232. ||1|pooled_height|7|
  233. ||2|spatial_scale|0.0625f|
  234. ||3|output_dim|0|
  235. |Quantize|0|scale|1.f|
  236. |Reduction|0|operation|0|
  237. ||1|dim|0|
  238. ||2|coeff|1.f|
  239. ||3|axes|[ ]|
  240. ||4|keepdims|0|
  241. |ReLU|0|slope|0.f|
  242. |Reorg|0|stride|0|
  243. |Requantize|0|scale_in|1.f|bias|
  244. ||1|scale_out|1.f|
  245. ||2|bias_term|0|
  246. ||3|bias_data_size|0|
  247. ||4|fusion_relu|0|
  248. |Reshape|0|w|-233|
  249. ||1|h|-233|
  250. ||2|c|-233|
  251. ||3|permute|0|
  252. |ROIAlign|0|pooled_width|0|
  253. ||1|pooled_height|0|
  254. ||2|spatial_scale|1.f|
  255. ||3|sampling_ratio|0|
  256. ||4|aligned|0|
  257. ||5|version|0|
  258. |ROIPooling|0|pooled_width|0|
  259. ||1|pooled_height|0|
  260. ||2|spatial_scale|1.f|
  261. |Scale|0|scale_data_size|0|scale bias|
  262. ||1|bias_term|0|
  263. |SELU|0|alpha|1.67326324f||
  264. ||1|lambda|1.050700987f|
  265. |ShuffleChannel|0|group|1|
  266. |Sigmoid|||
  267. |Slice|0|slices|[ ]|
  268. ||1|axis|0|
  269. |Softmax|0|axis|0|
  270. |Split|||
  271. |SPP TODO|||
  272. |Squeeze|0|squeeze_w|0|
  273. ||1|squeeze_h|0|
  274. ||2|squeeze_c|0|
  275. ||3|axes|[ ]|
  276. |StatisticsPooling|0|include_stddev|0|
  277. |Swish|||
  278. |TanH|||
  279. |Threshold|0|threshold|0.f|
  280. |Tile TODO|||
  281. |UnaryOp|0|op_type|0|
  282. |YoloDetectionOutput|0|num_class|20|
  283. ||1|num_box|5|
  284. ||2|confidence_threshold|0.01f|
  285. ||3|num_threshold|0.45f|
  286. ||4|biases|[]|
  287. |Yolov3DetectionOutput|0|num_class|20|
  288. ||1|num_box|5|
  289. ||2|confidence_threshold|0.01f|
  290. ||3|num_threshold|0.45f|
  291. ||4|biases|[]|
  292. ||5|mask|[]|
  293. ||6|anchors_scale|[]|
  294. |RNN TODO|||