svhn_origin0-LC3.json 6.6 KB

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