svhn_origin0-LA2.json 7.5 KB

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