svhn_origin0-ARep1-ARep2.json 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317
  1. {
  2. "edges": [
  3. [
  4. "Conv2D",
  5. "Activation"
  6. ],
  7. [
  8. "Activation",
  9. "MaxPooling2D"
  10. ],
  11. [
  12. "MaxPooling2D",
  13. "Conv2D"
  14. ],
  15. [
  16. "MaxPooling2D",
  17. "Flatten"
  18. ],
  19. [
  20. "Flatten",
  21. "Dense"
  22. ],
  23. [
  24. "Dense",
  25. "Dense"
  26. ]
  27. ],
  28. "layer_config": {
  29. "Conv2D": [
  30. {
  31. "trainable": true,
  32. "kernel_size": [
  33. 5,
  34. 5
  35. ],
  36. "strides": [
  37. 1,
  38. 1
  39. ],
  40. "padding": "valid",
  41. "data_format": "channels_last",
  42. "dilation_rate": [
  43. 1,
  44. 1
  45. ],
  46. "activation": "tanh",
  47. "use_bias": false,
  48. "kernel_initializer": {
  49. "class_name": "VarianceScaling",
  50. "config": {
  51. "scale": 1.0,
  52. "mode": "fan_avg",
  53. "distribution": "uniform",
  54. "seed": null
  55. }
  56. },
  57. "bias_initializer": {
  58. "class_name": "Zeros",
  59. "config": {}
  60. },
  61. "kernel_regularizer": "None",
  62. "bias_regularizer": "None",
  63. "activity_regularizer": "None",
  64. "kernel_constraint": "None",
  65. "bias_constraint": "None"
  66. },
  67. {
  68. "trainable": true,
  69. "kernel_size": [
  70. 5,
  71. 5
  72. ],
  73. "strides": [
  74. 1,
  75. 1
  76. ],
  77. "padding": "valid",
  78. "data_format": "channels_last",
  79. "dilation_rate": [
  80. 1,
  81. 1
  82. ],
  83. "activation": "linear",
  84. "use_bias": false,
  85. "kernel_initializer": {
  86. "class_name": "VarianceScaling",
  87. "config": {
  88. "scale": 1.0,
  89. "mode": "fan_avg",
  90. "distribution": "uniform",
  91. "seed": null
  92. }
  93. },
  94. "bias_initializer": {
  95. "class_name": "Zeros",
  96. "config": {}
  97. },
  98. "kernel_regularizer": "None",
  99. "bias_regularizer": "None",
  100. "activity_regularizer": "None",
  101. "kernel_constraint": "None",
  102. "bias_constraint": "None"
  103. }
  104. ],
  105. "Activation": [
  106. {
  107. "trainable": true,
  108. "activation": "relu"
  109. }
  110. ],
  111. "MaxPooling2D": [
  112. {
  113. "trainable": true,
  114. "pool_size": [
  115. 2,
  116. 2
  117. ],
  118. "padding": "valid",
  119. "strides": [
  120. 2,
  121. 2
  122. ],
  123. "data_format": "channels_last"
  124. }
  125. ],
  126. "Flatten": [
  127. {
  128. "trainable": true,
  129. "data_format": "channels_last"
  130. }
  131. ],
  132. "Dense": [
  133. {
  134. "trainable": true,
  135. "activation": "tanh",
  136. "use_bias": true,
  137. "kernel_initializer": {
  138. "class_name": "VarianceScaling",
  139. "config": {
  140. "scale": 1.0,
  141. "mode": "fan_avg",
  142. "distribution": "uniform",
  143. "seed": null
  144. }
  145. },
  146. "bias_initializer": {
  147. "class_name": "Zeros",
  148. "config": {}
  149. },
  150. "kernel_regularizer": "None",
  151. "bias_regularizer": "None",
  152. "activity_regularizer": "None",
  153. "kernel_constraint": "None",
  154. "bias_constraint": "None"
  155. },
  156. {
  157. "trainable": true,
  158. "activation": "relu",
  159. "use_bias": true,
  160. "kernel_initializer": {
  161. "class_name": "VarianceScaling",
  162. "config": {
  163. "scale": 1.0,
  164. "mode": "fan_avg",
  165. "distribution": "uniform",
  166. "seed": null
  167. }
  168. },
  169. "bias_initializer": {
  170. "class_name": "Zeros",
  171. "config": {}
  172. },
  173. "kernel_regularizer": "None",
  174. "bias_regularizer": "None",
  175. "activity_regularizer": "None",
  176. "kernel_constraint": "None",
  177. "bias_constraint": "None"
  178. },
  179. {
  180. "trainable": true,
  181. "activation": "softmax",
  182. "use_bias": true,
  183. "kernel_initializer": {
  184. "class_name": "VarianceScaling",
  185. "config": {
  186. "scale": 1.0,
  187. "mode": "fan_avg",
  188. "distribution": "uniform",
  189. "seed": null
  190. }
  191. },
  192. "bias_initializer": {
  193. "class_name": "Zeros",
  194. "config": {}
  195. },
  196. "kernel_regularizer": "None",
  197. "bias_regularizer": "None",
  198. "activity_regularizer": "None",
  199. "kernel_constraint": "None",
  200. "bias_constraint": "None"
  201. }
  202. ]
  203. },
  204. "layer_input_info": {
  205. "Conv2D": {
  206. "input_dims": [
  207. 4
  208. ],
  209. "dtype": [
  210. "float32"
  211. ],
  212. "shape": [
  213. "[Dimension(None), Dimension(32), Dimension(32), Dimension(3)]",
  214. "[Dimension(None), Dimension(14), Dimension(14), Dimension(6)]"
  215. ]
  216. },
  217. "Activation": {
  218. "input_dims": [
  219. 4
  220. ],
  221. "dtype": [
  222. "float32"
  223. ],
  224. "shape": [
  225. "[Dimension(None), Dimension(28), Dimension(28), Dimension(6)]",
  226. "[Dimension(None), Dimension(10), Dimension(10), Dimension(16)]"
  227. ]
  228. },
  229. "MaxPooling2D": {
  230. "input_dims": [
  231. 4
  232. ],
  233. "dtype": [
  234. "float32"
  235. ],
  236. "shape": [
  237. "[Dimension(None), Dimension(28), Dimension(28), Dimension(6)]",
  238. "[Dimension(None), Dimension(10), Dimension(10), Dimension(16)]"
  239. ]
  240. },
  241. "Flatten": {
  242. "input_dims": [
  243. 4
  244. ],
  245. "dtype": [
  246. "float32"
  247. ],
  248. "shape": [
  249. "[Dimension(None), Dimension(5), Dimension(5), Dimension(16)]"
  250. ]
  251. },
  252. "Dense": {
  253. "input_dims": [
  254. 2
  255. ],
  256. "dtype": [
  257. "float32"
  258. ],
  259. "shape": [
  260. "[Dimension(None), Dimension(None)]",
  261. "[Dimension(None), Dimension(120)]",
  262. "[Dimension(None), Dimension(84)]"
  263. ]
  264. }
  265. },
  266. "layer_num": 10,
  267. "layer_type": [
  268. "Conv2D",
  269. "Activation",
  270. "MaxPooling2D",
  271. "Flatten",
  272. "Dense"
  273. ],
  274. "cur_edge_num": 10,
  275. "layer_dims": {
  276. "Conv2D": {
  277. "input_dims": [
  278. 4
  279. ],
  280. "output_dims": [
  281. 4
  282. ]
  283. },
  284. "Activation": {
  285. "input_dims": [
  286. 4
  287. ],
  288. "output_dims": [
  289. 4
  290. ]
  291. },
  292. "MaxPooling2D": {
  293. "input_dims": [
  294. 4
  295. ],
  296. "output_dims": [
  297. 4
  298. ]
  299. },
  300. "Flatten": {
  301. "input_dims": [
  302. 4
  303. ],
  304. "output_dims": [
  305. 2
  306. ]
  307. },
  308. "Dense": {
  309. "input_dims": [
  310. 2
  311. ],
  312. "output_dims": [
  313. 2
  314. ]
  315. }
  316. }
  317. }