svhn_origin0-LR1-LA9.json 7.4 KB

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