mnn-metadata.json 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623
  1. [
  2. {
  3. "name": "AbsVal",
  4. "operator": 0
  5. },
  6. {
  7. "name": "ArgMax",
  8. "operator": 2
  9. },
  10. {
  11. "name": "AsString",
  12. "operator": 3,
  13. "category": "Transform"
  14. },
  15. {
  16. "name": "BatchMatMul",
  17. "operator": 106
  18. },
  19. {
  20. "name": "BatchNorm",
  21. "operator": 4,
  22. "category": "Normalization"
  23. },
  24. {
  25. "name": "BatchToSpaceND",
  26. "operator": 5,
  27. "category": "Shape"
  28. },
  29. {
  30. "name": "Bias",
  31. "operator": 6,
  32. "category": "Layer"
  33. },
  34. {
  35. "name": "BinaryOp",
  36. "operator": 7,
  37. "attributes": [
  38. { "name": "opType", "type": "BinaryOpOperation" },
  39. { "name": "T", "type": "DataType" }
  40. ]
  41. },
  42. {
  43. "name": "Bnll",
  44. "operator": 8
  45. },
  46. {
  47. "name": "Broastcast",
  48. "operator": 259,
  49. "category": "Layer"
  50. },
  51. {
  52. "name": "Cast",
  53. "operator": 9
  54. },
  55. {
  56. "name": "Concat",
  57. "operator": 10,
  58. "category": "Tensor"
  59. },
  60. {
  61. "name": "Const",
  62. "operator": 11,
  63. "category": "Constant"
  64. },
  65. {
  66. "name": "Conv2DBackPropFilter",
  67. "operator": 265,
  68. "category": "Layer"
  69. },
  70. {
  71. "name": "ConvertTensor",
  72. "operator": 129,
  73. "attributes": [
  74. { "name": "source", "type": "MNN_DATA_FORMAT" },
  75. { "name": "dest", "type": "MNN_DATA_FORMAT" }
  76. ]
  77. },
  78. {
  79. "name": "ConvInt8",
  80. "operator": 513,
  81. "category": "Layer"
  82. },
  83. {
  84. "name": "Convolution",
  85. "operator": 12,
  86. "category": "Layer",
  87. "attributes": [
  88. { "name": "padMode", "type": "PadMode" }
  89. ]
  90. },
  91. {
  92. "name": "ConvolutionDepthwise",
  93. "operator": 13,
  94. "category": "Layer",
  95. "attributes": [
  96. { "name": "padMode", "type": "PadMode" }
  97. ]
  98. },
  99. {
  100. "name": "Crop",
  101. "operator": 14,
  102. "category": "Data"
  103. },
  104. {
  105. "name": "CropAndResize",
  106. "operator": 15,
  107. "category": "Shape"
  108. },
  109. {
  110. "name": "Cubic",
  111. "operator": 16,
  112. "category": "Layer"
  113. },
  114. {
  115. "name": "Deconvolution",
  116. "operator": 17,
  117. "category": "Layer"
  118. },
  119. {
  120. "name": "DeconvolutionDepthwise",
  121. "operator": 18,
  122. "category": "Layer"
  123. },
  124. {
  125. "name": "DepthwiseConvInt8",
  126. "operator": 515,
  127. "category": "Layer"
  128. },
  129. {
  130. "name": "Dequantize",
  131. "operator": 19
  132. },
  133. {
  134. "name": "DetectionOutput",
  135. "operator": 20
  136. },
  137. {
  138. "name": "Dropout",
  139. "operator": 21,
  140. "category": "Dropout"
  141. },
  142. {
  143. "name": "Eltwise",
  144. "operator": 22
  145. },
  146. {
  147. "name": "ELU",
  148. "operator": 23,
  149. "category": "Activation",
  150. "attributes": [
  151. { "name": "alpha", "type": "float32" }
  152. ]
  153. },
  154. {
  155. "name": "Embed",
  156. "operator": 24,
  157. "category": "Transform"
  158. },
  159. {
  160. "name": "Exp",
  161. "operator": 25
  162. },
  163. {
  164. "name": "ExpandDims",
  165. "operator": 26
  166. },
  167. {
  168. "name": "Fill",
  169. "operator": 27,
  170. "category": "Data"
  171. },
  172. {
  173. "name": "Flatten",
  174. "operator": 28,
  175. "category": "Shape"
  176. },
  177. {
  178. "name": "FloatToInt8",
  179. "operator": 517
  180. },
  181. {
  182. "name": "FloorMod",
  183. "operator": 29,
  184. "category": "Layer"
  185. },
  186. {
  187. "name": "Gather",
  188. "operator": 30,
  189. "category": "Transform"
  190. },
  191. {
  192. "name": "GatherV2",
  193. "operator": 31,
  194. "category": "Data"
  195. },
  196. {
  197. "name": "Im2Seq",
  198. "operator": 32,
  199. "category": "Transform"
  200. },
  201. {
  202. "name": "InnerProduct",
  203. "operator": 33,
  204. "category": "Layer"
  205. },
  206. {
  207. "name": "Input",
  208. "operator": 34
  209. },
  210. {
  211. "name": "Int8ToFloat",
  212. "operator": 514
  213. },
  214. {
  215. "name": "Interp",
  216. "operator": 35
  217. },
  218. {
  219. "name": "Log",
  220. "operator": 36,
  221. "category": "Layer"
  222. },
  223. {
  224. "name": "LRN",
  225. "operator": 37,
  226. "category": "Normalization"
  227. },
  228. {
  229. "name": "LSTM",
  230. "operator": 38,
  231. "category": "Layer"
  232. },
  233. {
  234. "name": "MatMul",
  235. "operator": 39,
  236. "attributes": [
  237. { "name": "T", "type": "DataType" }
  238. ]
  239. },
  240. {
  241. "name": "MaxLayerCount",
  242. "operator": 128
  243. },
  244. {
  245. "name": "Moments",
  246. "operator": 104,
  247. "category": "Layer"
  248. },
  249. {
  250. "name": "MVN",
  251. "operator": 40
  252. },
  253. {
  254. "name": "NonMaxSuppression",
  255. "operator": 41,
  256. "category": "Layer"
  257. },
  258. {
  259. "name": "NonMaxSuppressionV2",
  260. "operator": 42,
  261. "category": "Layer"
  262. },
  263. {
  264. "name": "Normalize",
  265. "operator": 43,
  266. "category": "Normalization"
  267. },
  268. {
  269. "name": "Pack",
  270. "operator": 44
  271. },
  272. {
  273. "name": "Padding",
  274. "operator": 45,
  275. "category": "Tensor"
  276. },
  277. {
  278. "name": "Permute",
  279. "operator": 46,
  280. "category": "Shape"
  281. },
  282. {
  283. "name": "PLUGIN",
  284. "operator": 256,
  285. "category": "Layer"
  286. },
  287. {
  288. "name": "PoolGrad",
  289. "operator": 263,
  290. "category": "Pool"
  291. },
  292. {
  293. "name": "Pooling",
  294. "operator": 47,
  295. "category": "Pool",
  296. "attributes": [
  297. { "name": "isGlobal", "type": "boolean", "default": false },
  298. { "name": "type", "type": "PoolType" },
  299. { "name": "padType", "type": "PoolPadType" },
  300. { "name": "dataType", "type": "DataType" },
  301. { "name": "ceilModel", "type": "boolean", "default": true }
  302. ]
  303. },
  304. {
  305. "name": "PoolInt8",
  306. "operator": 516,
  307. "category": "Layer"
  308. },
  309. {
  310. "name": "Power",
  311. "operator": 48
  312. },
  313. {
  314. "name": "PReLU",
  315. "operator": 49,
  316. "category": "Activation"
  317. },
  318. {
  319. "name": "PriorBox",
  320. "operator": 50
  321. },
  322. {
  323. "name": "Proposal",
  324. "operator": 51
  325. },
  326. {
  327. "name": "QuantizedAdd",
  328. "operator": 1,
  329. "attributes": [
  330. { "name": "activationType", "type": "FusedActivation" }
  331. ]
  332. },
  333. {
  334. "name": "QuantizedAvgPool",
  335. "operator": 52,
  336. "category": "Pool"
  337. },
  338. {
  339. "name": "QuantizedBiasAdd",
  340. "operator": 53
  341. },
  342. {
  343. "name": "QuantizedConcat",
  344. "operator": 54,
  345. "category": "Tensor"
  346. },
  347. {
  348. "name": "QuantizedDepthwiseConv2D",
  349. "operator": 55,
  350. "category": "Layer"
  351. },
  352. {
  353. "name": "QuantizedLogistic",
  354. "operator": 56,
  355. "category": "Activation"
  356. },
  357. {
  358. "name": "QuantizedMatMul",
  359. "operator": 57
  360. },
  361. {
  362. "name": "QuantizedMaxPool",
  363. "operator": 58,
  364. "category": "Pool"
  365. },
  366. {
  367. "name": "QuantizedRelu",
  368. "operator": 59,
  369. "category": "Activation"
  370. },
  371. {
  372. "name": "QuantizedRelu6",
  373. "operator": 60,
  374. "category": "Activation"
  375. },
  376. {
  377. "name": "QuantizedReshape",
  378. "operator": 61,
  379. "category": "Shape"
  380. },
  381. {
  382. "name": "QuantizedSoftmax",
  383. "operator": 62,
  384. "category": "Activation"
  385. },
  386. {
  387. "name": "QuantizeMaxMin",
  388. "operator": 63
  389. },
  390. {
  391. "name": "QuantizeV2",
  392. "operator": 64
  393. },
  394. {
  395. "name": "Range",
  396. "operator": 65
  397. },
  398. {
  399. "name": "Rank",
  400. "operator": 66
  401. },
  402. {
  403. "name": "ReduceJoin",
  404. "operator": 67
  405. },
  406. {
  407. "name": "Reduction",
  408. "operator": 68
  409. },
  410. {
  411. "name": "ReLU",
  412. "operator": 69,
  413. "category": "Activation"
  414. },
  415. {
  416. "name": "ReLU6",
  417. "operator": 70,
  418. "category": "Activation"
  419. },
  420. {
  421. "name": "Relu6Grad",
  422. "operator": 262,
  423. "category": "Activation"
  424. },
  425. {
  426. "name": "ReluGrad",
  427. "operator": 261,
  428. "category": "Activation"
  429. },
  430. {
  431. "name": "RequantizationRange",
  432. "operator": 71
  433. },
  434. {
  435. "name": "Requantize",
  436. "operator": 72
  437. },
  438. {
  439. "name": "Reshape",
  440. "operator": 73,
  441. "category": "Shape",
  442. "attributes": [
  443. { "name": "dims", "type": "int32[]" },
  444. { "name": "dimType", "type": "MNN_DATA_FORMAT" }
  445. ]
  446. },
  447. {
  448. "name": "Resize",
  449. "operator": 74,
  450. "category": "Shape"
  451. },
  452. {
  453. "name": "RNN",
  454. "operator": 75,
  455. "category": "Layer"
  456. },
  457. {
  458. "name": "RNNSequenceGRU",
  459. "operator": 105,
  460. "category": "Layer"
  461. },
  462. {
  463. "name": "ROIPooling",
  464. "operator": 76,
  465. "category": "Pool"
  466. },
  467. {
  468. "name": "Scale",
  469. "operator": 77,
  470. "category": "Layer"
  471. },
  472. {
  473. "name": "Select",
  474. "operator": 257,
  475. "category": "Layer"
  476. },
  477. {
  478. "name": "Selu",
  479. "operator": 78,
  480. "category": "Activation"
  481. },
  482. {
  483. "name": "Seq2Out",
  484. "operator": 79,
  485. "category": "Transform"
  486. },
  487. {
  488. "name": "SetDiff1D",
  489. "operator": 260,
  490. "category": "Layer"
  491. },
  492. {
  493. "name": "Shape",
  494. "operator": 80,
  495. "category": "Shape"
  496. },
  497. {
  498. "name": "Sigmoid",
  499. "operator": 81,
  500. "category": "Activation"
  501. },
  502. {
  503. "name": "Size",
  504. "operator": 82
  505. },
  506. {
  507. "name": "Slice",
  508. "operator": 83,
  509. "category": "Tensor"
  510. },
  511. {
  512. "name": "SliceTf",
  513. "operator": 84
  514. },
  515. {
  516. "name": "Softmax",
  517. "operator": 85,
  518. "category": "Activation"
  519. },
  520. {
  521. "name": "SoftmaxGrad",
  522. "operator": 264,
  523. "category": "Activation"
  524. },
  525. {
  526. "name": "SpaceToBatchND",
  527. "operator": 86,
  528. "category": "Shape"
  529. },
  530. {
  531. "name": "SpatialProduct",
  532. "operator": 87,
  533. "category": "Layer"
  534. },
  535. {
  536. "name": "Split",
  537. "operator": 88
  538. },
  539. {
  540. "name": "SPP",
  541. "operator": 89,
  542. "category": "Layer"
  543. },
  544. {
  545. "name": "Squeeze",
  546. "operator": 90,
  547. "category": "Transform"
  548. },
  549. {
  550. "name": "StridedSlice",
  551. "operator": 91,
  552. "category": "Tensor",
  553. "attributes": [
  554. { "name": "Index", "type": "DataType" },
  555. { "name": "T", "type": "DataType" }
  556. ]
  557. },
  558. {
  559. "name": "StringJoin",
  560. "operator": 92,
  561. "category": "Transform"
  562. },
  563. {
  564. "name": "StringSplit",
  565. "operator": 93,
  566. "category": "Transform"
  567. },
  568. {
  569. "name": "StringToNumber",
  570. "operator": 94,
  571. "category": "Transform"
  572. },
  573. {
  574. "name": "TanH",
  575. "operator": 95,
  576. "category": "Activation"
  577. },
  578. {
  579. "name": "TfQuantizedConv2D",
  580. "operator": 96,
  581. "category": "Layer"
  582. },
  583. {
  584. "name": "Threshold",
  585. "operator": 97,
  586. "category": "Activation"
  587. },
  588. {
  589. "name": "Tile",
  590. "operator": 98
  591. },
  592. {
  593. "name": "TopKV2",
  594. "operator": 99,
  595. "category": "Layer"
  596. },
  597. {
  598. "name": "Transpose",
  599. "operator": 100,
  600. "category": "Transform"
  601. },
  602. {
  603. "name": "UnaryOp",
  604. "operator": 101
  605. },
  606. {
  607. "name": "Unpack",
  608. "operator": 102
  609. },
  610. {
  611. "name": "Unsqueeze",
  612. "operator": 107
  613. },
  614. {
  615. "name": "Where",
  616. "operator": 103
  617. },
  618. {
  619. "name": "ZerosLike",
  620. "operator": 258,
  621. "category": "Layer"
  622. }
  623. ]