svhn_origin0-ARep1-GF2.json 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294
  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": "relu",
  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": "softmax",
  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. },
  181. "layer_input_info": {
  182. "Conv2D": {
  183. "input_dims": [
  184. 4
  185. ],
  186. "dtype": [
  187. "float32"
  188. ],
  189. "shape": [
  190. "[Dimension(None), Dimension(32), Dimension(32), Dimension(3)]",
  191. "[Dimension(None), Dimension(14), Dimension(14), Dimension(6)]"
  192. ]
  193. },
  194. "Activation": {
  195. "input_dims": [
  196. 4
  197. ],
  198. "dtype": [
  199. "float32"
  200. ],
  201. "shape": [
  202. "[Dimension(None), Dimension(28), Dimension(28), Dimension(6)]",
  203. "[Dimension(None), Dimension(10), Dimension(10), Dimension(16)]"
  204. ]
  205. },
  206. "MaxPooling2D": {
  207. "input_dims": [
  208. 4
  209. ],
  210. "dtype": [
  211. "float32"
  212. ],
  213. "shape": [
  214. "[Dimension(None), Dimension(28), Dimension(28), Dimension(6)]",
  215. "[Dimension(None), Dimension(10), Dimension(10), Dimension(16)]"
  216. ]
  217. },
  218. "Flatten": {
  219. "input_dims": [
  220. 4
  221. ],
  222. "dtype": [
  223. "float32"
  224. ],
  225. "shape": [
  226. "[Dimension(None), Dimension(5), Dimension(5), Dimension(16)]"
  227. ]
  228. },
  229. "Dense": {
  230. "input_dims": [
  231. 2
  232. ],
  233. "dtype": [
  234. "float32"
  235. ],
  236. "shape": [
  237. "[Dimension(None), Dimension(None)]",
  238. "[Dimension(None), Dimension(120)]",
  239. "[Dimension(None), Dimension(84)]"
  240. ]
  241. }
  242. },
  243. "layer_num": 10,
  244. "layer_type": [
  245. "Conv2D",
  246. "Activation",
  247. "MaxPooling2D",
  248. "Flatten",
  249. "Dense"
  250. ],
  251. "cur_edge_num": 10,
  252. "layer_dims": {
  253. "Conv2D": {
  254. "input_dims": [
  255. 4
  256. ],
  257. "output_dims": [
  258. 4
  259. ]
  260. },
  261. "Activation": {
  262. "input_dims": [
  263. 4
  264. ],
  265. "output_dims": [
  266. 4
  267. ]
  268. },
  269. "MaxPooling2D": {
  270. "input_dims": [
  271. 4
  272. ],
  273. "output_dims": [
  274. 4
  275. ]
  276. },
  277. "Flatten": {
  278. "input_dims": [
  279. 4
  280. ],
  281. "output_dims": [
  282. 2
  283. ]
  284. },
  285. "Dense": {
  286. "input_dims": [
  287. 2
  288. ],
  289. "output_dims": [
  290. 2
  291. ]
  292. }
  293. }
  294. }