svhn_origin0-NAI7.json 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257
  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": "linear",
  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. "Activation": [
  69. {
  70. "trainable": true,
  71. "activation": "relu"
  72. }
  73. ],
  74. "MaxPooling2D": [
  75. {
  76. "trainable": true,
  77. "pool_size": [
  78. 2,
  79. 2
  80. ],
  81. "padding": "valid",
  82. "strides": [
  83. 2,
  84. 2
  85. ],
  86. "data_format": "channels_last"
  87. }
  88. ],
  89. "Flatten": [
  90. {
  91. "trainable": true,
  92. "data_format": "channels_last"
  93. }
  94. ],
  95. "Dense": [
  96. {
  97. "trainable": true,
  98. "activation": "relu",
  99. "use_bias": true,
  100. "kernel_initializer": {
  101. "class_name": "VarianceScaling",
  102. "config": {
  103. "scale": 1.0,
  104. "mode": "fan_avg",
  105. "distribution": "uniform",
  106. "seed": null
  107. }
  108. },
  109. "bias_initializer": {
  110. "class_name": "Zeros",
  111. "config": {}
  112. },
  113. "kernel_regularizer": "None",
  114. "bias_regularizer": "None",
  115. "activity_regularizer": "None",
  116. "kernel_constraint": "None",
  117. "bias_constraint": "None"
  118. },
  119. {
  120. "trainable": true,
  121. "activation": "softmax",
  122. "use_bias": true,
  123. "kernel_initializer": {
  124. "class_name": "VarianceScaling",
  125. "config": {
  126. "scale": 1.0,
  127. "mode": "fan_avg",
  128. "distribution": "uniform",
  129. "seed": null
  130. }
  131. },
  132. "bias_initializer": {
  133. "class_name": "Zeros",
  134. "config": {}
  135. },
  136. "kernel_regularizer": "None",
  137. "bias_regularizer": "None",
  138. "activity_regularizer": "None",
  139. "kernel_constraint": "None",
  140. "bias_constraint": "None"
  141. }
  142. ]
  143. },
  144. "layer_input_info": {
  145. "Conv2D": {
  146. "input_dims": [
  147. 4
  148. ],
  149. "dtype": [
  150. "float32"
  151. ],
  152. "shape": [
  153. "[Dimension(None), Dimension(32), Dimension(32), Dimension(3)]",
  154. "[Dimension(None), Dimension(14), Dimension(14), Dimension(6)]"
  155. ]
  156. },
  157. "Activation": {
  158. "input_dims": [
  159. 4
  160. ],
  161. "dtype": [
  162. "float32"
  163. ],
  164. "shape": [
  165. "[Dimension(None), Dimension(28), Dimension(28), Dimension(6)]",
  166. "[Dimension(None), Dimension(10), Dimension(10), Dimension(16)]"
  167. ]
  168. },
  169. "MaxPooling2D": {
  170. "input_dims": [
  171. 4
  172. ],
  173. "dtype": [
  174. "float32"
  175. ],
  176. "shape": [
  177. "[Dimension(None), Dimension(28), Dimension(28), Dimension(6)]",
  178. "[Dimension(None), Dimension(10), Dimension(10), Dimension(16)]"
  179. ]
  180. },
  181. "Flatten": {
  182. "input_dims": [
  183. 4
  184. ],
  185. "dtype": [
  186. "float32"
  187. ],
  188. "shape": [
  189. "[Dimension(None), Dimension(5), Dimension(5), Dimension(16)]"
  190. ]
  191. },
  192. "Dense": {
  193. "input_dims": [
  194. 2
  195. ],
  196. "dtype": [
  197. "float32"
  198. ],
  199. "shape": [
  200. "[Dimension(None), Dimension(None)]",
  201. "[Dimension(None), Dimension(120)]",
  202. "[Dimension(None), Dimension(84)]"
  203. ]
  204. }
  205. },
  206. "layer_num": 10,
  207. "layer_type": [
  208. "Conv2D",
  209. "Activation",
  210. "MaxPooling2D",
  211. "Flatten",
  212. "Dense"
  213. ],
  214. "cur_edge_num": 10,
  215. "layer_dims": {
  216. "Conv2D": {
  217. "input_dims": [
  218. 4
  219. ],
  220. "output_dims": [
  221. 4
  222. ]
  223. },
  224. "Activation": {
  225. "input_dims": [
  226. 4
  227. ],
  228. "output_dims": [
  229. 4
  230. ]
  231. },
  232. "MaxPooling2D": {
  233. "input_dims": [
  234. 4
  235. ],
  236. "output_dims": [
  237. 4
  238. ]
  239. },
  240. "Flatten": {
  241. "input_dims": [
  242. 4
  243. ],
  244. "output_dims": [
  245. 2
  246. ]
  247. },
  248. "Dense": {
  249. "input_dims": [
  250. 2
  251. ],
  252. "output_dims": [
  253. 2
  254. ]
  255. }
  256. }
  257. }