svhn_origin0-LA3.json 8.0 KB

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