comparison test-data/keras02.json @ 14:9c19cf3c4ea0 draft

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 9981e25b00de29ed881b2229a173a8c812ded9bb
author bgruening
date Wed, 09 Aug 2023 13:08:43 +0000
parents 6b94d76a1397
children
comparison
equal deleted inserted replaced
13:c80db5d6fd8c 14:9c19cf3c4ea0
1 { 1 {
2 "class_name": "Model", 2 "class_name": "Functional",
3 "config": { 3 "config": {
4 "name": "model_1", 4 "name": "model",
5 "layers": [ 5 "layers": [
6 { 6 {
7 "name": "main_input",
8 "class_name": "InputLayer", 7 "class_name": "InputLayer",
9 "config": { 8 "config": {
10 "batch_input_shape": [ 9 "batch_input_shape": [
11 null, 10 null,
12 100 11 100
13 ], 12 ],
14 "dtype": "int32", 13 "dtype": "int32",
15 "sparse": false, 14 "sparse": false,
15 "ragged": false,
16 "name": "main_input" 16 "name": "main_input"
17 }, 17 },
18 "name": "main_input",
18 "inbound_nodes": [] 19 "inbound_nodes": []
19 }, 20 },
20 { 21 {
21 "name": "embedding_1",
22 "class_name": "Embedding", 22 "class_name": "Embedding",
23 "config": { 23 "config": {
24 "name": "embedding_1", 24 "name": "embedding",
25 "trainable": true, 25 "trainable": true,
26 "batch_input_shape": [ 26 "batch_input_shape": [
27 null, 27 null,
28 100 28 100
29 ], 29 ],
42 "activity_regularizer": null, 42 "activity_regularizer": null,
43 "embeddings_constraint": null, 43 "embeddings_constraint": null,
44 "mask_zero": false, 44 "mask_zero": false,
45 "input_length": 100 45 "input_length": 100
46 }, 46 },
47 "name": "embedding",
47 "inbound_nodes": [ 48 "inbound_nodes": [
48 [ 49 [
49 [ 50 [
50 "main_input", 51 "main_input",
51 0, 52 0,
54 ] 55 ]
55 ] 56 ]
56 ] 57 ]
57 }, 58 },
58 { 59 {
59 "name": "lstm_1",
60 "class_name": "LSTM", 60 "class_name": "LSTM",
61 "config": { 61 "config": {
62 "name": "lstm_1", 62 "name": "lstm",
63 "trainable": true, 63 "trainable": true,
64 "dtype": "float32", 64 "dtype": "float32",
65 "return_sequences": false, 65 "return_sequences": false,
66 "return_state": false, 66 "return_state": false,
67 "go_backwards": false, 67 "go_backwards": false,
68 "stateful": false, 68 "stateful": false,
69 "unroll": false, 69 "unroll": false,
70 "time_major": false,
70 "units": 32, 71 "units": 32,
71 "activation": "tanh", 72 "activation": "tanh",
72 "recurrent_activation": "sigmoid", 73 "recurrent_activation": "sigmoid",
73 "use_bias": true, 74 "use_bias": true,
74 "kernel_initializer": { 75 "kernel_initializer": {
75 "class_name": "VarianceScaling", 76 "class_name": "GlorotUniform",
76 "config": { 77 "config": {
77 "scale": 1.0, 78 "seed": null
78 "mode": "fan_avg", 79 },
79 "distribution": "uniform", 80 "shared_object_id": 3
80 "seed": null
81 }
82 }, 81 },
83 "recurrent_initializer": { 82 "recurrent_initializer": {
84 "class_name": "Orthogonal", 83 "class_name": "Orthogonal",
85 "config": { 84 "config": {
86 "gain": 1.0, 85 "gain": 1.0,
87 "seed": null 86 "seed": null
88 } 87 },
89 }, 88 "shared_object_id": 4
90 "bias_initializer": { 89 },
91 "class_name": "Zeros", 90 "bias_initializer": {
92 "config": {} 91 "class_name": "Zeros",
92 "config": {},
93 "shared_object_id": 5
93 }, 94 },
94 "unit_forget_bias": true, 95 "unit_forget_bias": true,
95 "kernel_regularizer": null, 96 "kernel_regularizer": null,
96 "recurrent_regularizer": null, 97 "recurrent_regularizer": null,
97 "bias_regularizer": null, 98 "bias_regularizer": null,
101 "bias_constraint": null, 102 "bias_constraint": null,
102 "dropout": 0.0, 103 "dropout": 0.0,
103 "recurrent_dropout": 0.0, 104 "recurrent_dropout": 0.0,
104 "implementation": 2 105 "implementation": 2
105 }, 106 },
106 "inbound_nodes": [ 107 "name": "lstm",
107 [ 108 "inbound_nodes": [
108 [ 109 [
109 "embedding_1", 110 [
110 0, 111 "embedding",
111 0, 112 0,
112 {} 113 0,
113 ] 114 {}
114 ] 115 ]
115 ] 116 ]
116 }, 117 ]
117 { 118 },
118 "name": "dense_1", 119 {
119 "class_name": "Dense", 120 "class_name": "Dense",
120 "config": { 121 "config": {
121 "name": "dense_1", 122 "name": "dense",
122 "trainable": true, 123 "trainable": true,
123 "dtype": "float32", 124 "dtype": "float32",
124 "units": 1, 125 "units": 1,
125 "activation": "sigmoid", 126 "activation": "sigmoid",
126 "use_bias": true, 127 "use_bias": true,
127 "kernel_initializer": { 128 "kernel_initializer": {
128 "class_name": "VarianceScaling", 129 "class_name": "GlorotUniform",
129 "config": { 130 "config": {
130 "scale": 1.0, 131 "seed": null
131 "mode": "fan_avg", 132 }
132 "distribution": "uniform", 133 },
133 "seed": null 134 "bias_initializer": {
134 } 135 "class_name": "Zeros",
135 }, 136 "config": {}
136 "bias_initializer": { 137 },
137 "class_name": "Zeros", 138 "kernel_regularizer": null,
138 "config": {} 139 "bias_regularizer": null,
139 }, 140 "activity_regularizer": null,
140 "kernel_regularizer": null, 141 "kernel_constraint": null,
141 "bias_regularizer": null, 142 "bias_constraint": null
142 "activity_regularizer": null, 143 },
143 "kernel_constraint": null, 144 "name": "dense",
144 "bias_constraint": null 145 "inbound_nodes": [
145 }, 146 [
146 "inbound_nodes": [ 147 [
147 [ 148 "lstm",
148 [ 149 0,
149 "lstm_1", 150 0,
150 0, 151 {}
151 0, 152 ]
152 {} 153 ]
153 ] 154 ]
154 ] 155 },
155 ] 156 {
156 },
157 {
158 "name": "aux_input",
159 "class_name": "InputLayer", 157 "class_name": "InputLayer",
160 "config": { 158 "config": {
161 "batch_input_shape": [ 159 "batch_input_shape": [
162 null, 160 null,
163 5 161 5
164 ], 162 ],
165 "dtype": "float32", 163 "dtype": "float32",
166 "sparse": false, 164 "sparse": false,
165 "ragged": false,
167 "name": "aux_input" 166 "name": "aux_input"
168 }, 167 },
168 "name": "aux_input",
169 "inbound_nodes": [] 169 "inbound_nodes": []
170 }, 170 },
171 { 171 {
172 "name": "concatenate_1",
173 "class_name": "Concatenate", 172 "class_name": "Concatenate",
174 "config": { 173 "config": {
175 "name": "concatenate_1", 174 "name": "concatenate",
176 "trainable": true, 175 "trainable": true,
177 "dtype": "float32", 176 "dtype": "float32",
178 "axis": -1 177 "axis": -1
179 }, 178 },
180 "inbound_nodes": [ 179 "name": "concatenate",
181 [ 180 "inbound_nodes": [
182 [ 181 [
183 "dense_1", 182 [
183 "dense",
184 0, 184 0,
185 0, 185 0,
186 {} 186 {}
187 ], 187 ],
188 [ 188 [
193 ] 193 ]
194 ] 194 ]
195 ] 195 ]
196 }, 196 },
197 { 197 {
198 "name": "dense_2", 198 "class_name": "Dense",
199 "class_name": "Dense", 199 "config": {
200 "config": { 200 "name": "dense_1",
201 "name": "dense_2",
202 "trainable": true, 201 "trainable": true,
203 "dtype": "float32", 202 "dtype": "float32",
204 "units": 64, 203 "units": 64,
205 "activation": "relu", 204 "activation": "relu",
206 "use_bias": true, 205 "use_bias": true,
207 "kernel_initializer": { 206 "kernel_initializer": {
208 "class_name": "VarianceScaling", 207 "class_name": "GlorotUniform",
209 "config": { 208 "config": {
210 "scale": 1.0, 209 "seed": null
211 "mode": "fan_avg", 210 }
212 "distribution": "uniform", 211 },
213 "seed": null 212 "bias_initializer": {
214 } 213 "class_name": "Zeros",
215 }, 214 "config": {}
216 "bias_initializer": { 215 },
217 "class_name": "Zeros", 216 "kernel_regularizer": null,
218 "config": {} 217 "bias_regularizer": null,
219 }, 218 "activity_regularizer": null,
220 "kernel_regularizer": null, 219 "kernel_constraint": null,
221 "bias_regularizer": null, 220 "bias_constraint": null
222 "activity_regularizer": null, 221 },
223 "kernel_constraint": null, 222 "name": "dense_1",
224 "bias_constraint": null 223 "inbound_nodes": [
225 }, 224 [
226 "inbound_nodes": [ 225 [
227 [ 226 "concatenate",
228 [ 227 0,
229 "concatenate_1", 228 0,
230 0, 229 {}
231 0, 230 ]
232 {} 231 ]
233 ] 232 ]
234 ] 233 },
235 ] 234 {
236 }, 235 "class_name": "Dense",
237 { 236 "config": {
238 "name": "dense_3", 237 "name": "dense_2",
239 "class_name": "Dense",
240 "config": {
241 "name": "dense_3",
242 "trainable": true, 238 "trainable": true,
243 "dtype": "float32", 239 "dtype": "float32",
244 "units": 64, 240 "units": 64,
245 "activation": "relu", 241 "activation": "relu",
246 "use_bias": true, 242 "use_bias": true,
247 "kernel_initializer": { 243 "kernel_initializer": {
248 "class_name": "VarianceScaling", 244 "class_name": "GlorotUniform",
249 "config": { 245 "config": {
250 "scale": 1.0, 246 "seed": null
251 "mode": "fan_avg", 247 }
252 "distribution": "uniform", 248 },
253 "seed": null 249 "bias_initializer": {
254 } 250 "class_name": "Zeros",
255 }, 251 "config": {}
256 "bias_initializer": { 252 },
257 "class_name": "Zeros", 253 "kernel_regularizer": null,
258 "config": {} 254 "bias_regularizer": null,
259 }, 255 "activity_regularizer": null,
260 "kernel_regularizer": null, 256 "kernel_constraint": null,
261 "bias_regularizer": null, 257 "bias_constraint": null
262 "activity_regularizer": null, 258 },
263 "kernel_constraint": null, 259 "name": "dense_2",
264 "bias_constraint": null 260 "inbound_nodes": [
265 }, 261 [
266 "inbound_nodes": [ 262 [
267 [ 263 "dense_1",
268 [ 264 0,
269 "dense_2", 265 0,
270 0, 266 {}
271 0, 267 ]
272 {} 268 ]
273 ] 269 ]
274 ] 270 },
275 ] 271 {
276 }, 272 "class_name": "Dense",
277 { 273 "config": {
278 "name": "dense_4", 274 "name": "dense_3",
279 "class_name": "Dense",
280 "config": {
281 "name": "dense_4",
282 "trainable": true, 275 "trainable": true,
283 "dtype": "float32", 276 "dtype": "float32",
284 "units": 64, 277 "units": 64,
285 "activation": "relu", 278 "activation": "relu",
286 "use_bias": true, 279 "use_bias": true,
287 "kernel_initializer": { 280 "kernel_initializer": {
288 "class_name": "VarianceScaling", 281 "class_name": "GlorotUniform",
289 "config": { 282 "config": {
290 "scale": 1.0, 283 "seed": null
291 "mode": "fan_avg", 284 }
292 "distribution": "uniform", 285 },
293 "seed": null 286 "bias_initializer": {
294 } 287 "class_name": "Zeros",
295 }, 288 "config": {}
296 "bias_initializer": { 289 },
297 "class_name": "Zeros", 290 "kernel_regularizer": null,
298 "config": {} 291 "bias_regularizer": null,
299 }, 292 "activity_regularizer": null,
300 "kernel_regularizer": null, 293 "kernel_constraint": null,
301 "bias_regularizer": null, 294 "bias_constraint": null
302 "activity_regularizer": null, 295 },
303 "kernel_constraint": null, 296 "name": "dense_3",
304 "bias_constraint": null 297 "inbound_nodes": [
305 }, 298 [
306 "inbound_nodes": [ 299 [
307 [ 300 "dense_2",
308 [ 301 0,
309 "dense_3", 302 0,
310 0, 303 {}
311 0, 304 ]
312 {} 305 ]
313 ] 306 ]
314 ] 307 },
315 ] 308 {
316 }, 309 "class_name": "Dense",
317 { 310 "config": {
318 "name": "dense_5", 311 "name": "dense_4",
319 "class_name": "Dense",
320 "config": {
321 "name": "dense_5",
322 "trainable": true, 312 "trainable": true,
323 "dtype": "float32", 313 "dtype": "float32",
324 "units": 1, 314 "units": 1,
325 "activation": "sigmoid", 315 "activation": "sigmoid",
326 "use_bias": true, 316 "use_bias": true,
327 "kernel_initializer": { 317 "kernel_initializer": {
328 "class_name": "VarianceScaling", 318 "class_name": "GlorotUniform",
329 "config": { 319 "config": {
330 "scale": 1.0, 320 "seed": null
331 "mode": "fan_avg", 321 }
332 "distribution": "uniform", 322 },
333 "seed": null 323 "bias_initializer": {
334 } 324 "class_name": "Zeros",
335 }, 325 "config": {}
336 "bias_initializer": { 326 },
337 "class_name": "Zeros", 327 "kernel_regularizer": null,
338 "config": {} 328 "bias_regularizer": null,
339 }, 329 "activity_regularizer": null,
340 "kernel_regularizer": null, 330 "kernel_constraint": null,
341 "bias_regularizer": null, 331 "bias_constraint": null
342 "activity_regularizer": null, 332 },
343 "kernel_constraint": null, 333 "name": "dense_4",
344 "bias_constraint": null 334 "inbound_nodes": [
345 }, 335 [
346 "inbound_nodes": [ 336 [
347 [ 337 "dense_3",
348 [
349 "dense_4",
350 0, 338 0,
351 0, 339 0,
352 {} 340 {}
353 ] 341 ]
354 ] 342 ]
367 0 355 0
368 ] 356 ]
369 ], 357 ],
370 "output_layers": [ 358 "output_layers": [
371 [ 359 [
372 "dense_1", 360 "dense",
373 0, 361 0,
374 0 362 0
375 ], 363 ],
376 [ 364 [
377 "dense_5", 365 "dense_4",
378 0, 366 0,
379 0 367 0
380 ] 368 ]
381 ] 369 ]
382 }, 370 },
383 "keras_version": "2.3.1", 371 "keras_version": "2.10.0",
384 "backend": "tensorflow" 372 "backend": "tensorflow"
385 } 373 }