diff test-data/keras02.json @ 35:61edd9e5c17f draft

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 9981e25b00de29ed881b2229a173a8c812ded9bb
author bgruening
date Wed, 09 Aug 2023 13:10:57 +0000
parents 41b109e70a7f
children
line wrap: on
line diff
--- a/test-data/keras02.json	Thu Aug 11 09:24:57 2022 +0000
+++ b/test-data/keras02.json	Wed Aug 09 13:10:57 2023 +0000
@@ -1,10 +1,9 @@
 {
-  "class_name": "Model",
+  "class_name": "Functional",
   "config": {
-    "name": "model_1",
+    "name": "model",
     "layers": [
       {
-        "name": "main_input",
         "class_name": "InputLayer",
         "config": {
           "batch_input_shape": [
@@ -13,15 +12,16 @@
           ],
           "dtype": "int32",
           "sparse": false,
+          "ragged": false,
           "name": "main_input"
         },
+        "name": "main_input",
         "inbound_nodes": []
       },
       {
-        "name": "embedding_1",
         "class_name": "Embedding",
         "config": {
-          "name": "embedding_1",
+          "name": "embedding",
           "trainable": true,
           "batch_input_shape": [
             null,
@@ -44,6 +44,7 @@
           "mask_zero": false,
           "input_length": 100
         },
+        "name": "embedding",
         "inbound_nodes": [
           [
             [
@@ -56,10 +57,9 @@
         ]
       },
       {
-        "name": "lstm_1",
         "class_name": "LSTM",
         "config": {
-          "name": "lstm_1",
+          "name": "lstm",
           "trainable": true,
           "dtype": "float32",
           "return_sequences": false,
@@ -67,29 +67,30 @@
           "go_backwards": false,
           "stateful": false,
           "unroll": false,
+          "time_major": false,
           "units": 32,
           "activation": "tanh",
           "recurrent_activation": "sigmoid",
           "use_bias": true,
           "kernel_initializer": {
-            "class_name": "VarianceScaling",
+            "class_name": "GlorotUniform",
             "config": {
-              "scale": 1.0,
-              "mode": "fan_avg",
-              "distribution": "uniform",
               "seed": null
-            }
+            },
+            "shared_object_id": 3
           },
           "recurrent_initializer": {
             "class_name": "Orthogonal",
             "config": {
               "gain": 1.0,
               "seed": null
-            }
+            },
+            "shared_object_id": 4
           },
           "bias_initializer": {
             "class_name": "Zeros",
-            "config": {}
+            "config": {},
+            "shared_object_id": 5
           },
           "unit_forget_bias": true,
           "kernel_regularizer": null,
@@ -103,10 +104,11 @@
           "recurrent_dropout": 0.0,
           "implementation": 2
         },
+        "name": "lstm",
         "inbound_nodes": [
           [
             [
-              "embedding_1",
+              "embedding",
               0,
               0,
               {}
@@ -115,21 +117,17 @@
         ]
       },
       {
-        "name": "dense_1",
         "class_name": "Dense",
         "config": {
-          "name": "dense_1",
+          "name": "dense",
           "trainable": true,
           "dtype": "float32",
           "units": 1,
           "activation": "sigmoid",
           "use_bias": true,
           "kernel_initializer": {
-            "class_name": "VarianceScaling",
+            "class_name": "GlorotUniform",
             "config": {
-              "scale": 1.0,
-              "mode": "fan_avg",
-              "distribution": "uniform",
               "seed": null
             }
           },
@@ -143,10 +141,11 @@
           "kernel_constraint": null,
           "bias_constraint": null
         },
+        "name": "dense",
         "inbound_nodes": [
           [
             [
-              "lstm_1",
+              "lstm",
               0,
               0,
               {}
@@ -155,7 +154,6 @@
         ]
       },
       {
-        "name": "aux_input",
         "class_name": "InputLayer",
         "config": {
           "batch_input_shape": [
@@ -164,23 +162,25 @@
           ],
           "dtype": "float32",
           "sparse": false,
+          "ragged": false,
           "name": "aux_input"
         },
+        "name": "aux_input",
         "inbound_nodes": []
       },
       {
-        "name": "concatenate_1",
         "class_name": "Concatenate",
         "config": {
-          "name": "concatenate_1",
+          "name": "concatenate",
           "trainable": true,
           "dtype": "float32",
           "axis": -1
         },
+        "name": "concatenate",
         "inbound_nodes": [
           [
             [
-              "dense_1",
+              "dense",
               0,
               0,
               {}
@@ -195,21 +195,17 @@
         ]
       },
       {
-        "name": "dense_2",
         "class_name": "Dense",
         "config": {
-          "name": "dense_2",
+          "name": "dense_1",
           "trainable": true,
           "dtype": "float32",
           "units": 64,
           "activation": "relu",
           "use_bias": true,
           "kernel_initializer": {
-            "class_name": "VarianceScaling",
+            "class_name": "GlorotUniform",
             "config": {
-              "scale": 1.0,
-              "mode": "fan_avg",
-              "distribution": "uniform",
               "seed": null
             }
           },
@@ -223,10 +219,11 @@
           "kernel_constraint": null,
           "bias_constraint": null
         },
+        "name": "dense_1",
         "inbound_nodes": [
           [
             [
-              "concatenate_1",
+              "concatenate",
               0,
               0,
               {}
@@ -235,21 +232,17 @@
         ]
       },
       {
-        "name": "dense_3",
         "class_name": "Dense",
         "config": {
-          "name": "dense_3",
+          "name": "dense_2",
           "trainable": true,
           "dtype": "float32",
           "units": 64,
           "activation": "relu",
           "use_bias": true,
           "kernel_initializer": {
-            "class_name": "VarianceScaling",
+            "class_name": "GlorotUniform",
             "config": {
-              "scale": 1.0,
-              "mode": "fan_avg",
-              "distribution": "uniform",
               "seed": null
             }
           },
@@ -263,10 +256,11 @@
           "kernel_constraint": null,
           "bias_constraint": null
         },
+        "name": "dense_2",
         "inbound_nodes": [
           [
             [
-              "dense_2",
+              "dense_1",
               0,
               0,
               {}
@@ -275,21 +269,17 @@
         ]
       },
       {
-        "name": "dense_4",
         "class_name": "Dense",
         "config": {
-          "name": "dense_4",
+          "name": "dense_3",
           "trainable": true,
           "dtype": "float32",
           "units": 64,
           "activation": "relu",
           "use_bias": true,
           "kernel_initializer": {
-            "class_name": "VarianceScaling",
+            "class_name": "GlorotUniform",
             "config": {
-              "scale": 1.0,
-              "mode": "fan_avg",
-              "distribution": "uniform",
               "seed": null
             }
           },
@@ -303,10 +293,11 @@
           "kernel_constraint": null,
           "bias_constraint": null
         },
+        "name": "dense_3",
         "inbound_nodes": [
           [
             [
-              "dense_3",
+              "dense_2",
               0,
               0,
               {}
@@ -315,21 +306,17 @@
         ]
       },
       {
-        "name": "dense_5",
         "class_name": "Dense",
         "config": {
-          "name": "dense_5",
+          "name": "dense_4",
           "trainable": true,
           "dtype": "float32",
           "units": 1,
           "activation": "sigmoid",
           "use_bias": true,
           "kernel_initializer": {
-            "class_name": "VarianceScaling",
+            "class_name": "GlorotUniform",
             "config": {
-              "scale": 1.0,
-              "mode": "fan_avg",
-              "distribution": "uniform",
               "seed": null
             }
           },
@@ -343,10 +330,11 @@
           "kernel_constraint": null,
           "bias_constraint": null
         },
+        "name": "dense_4",
         "inbound_nodes": [
           [
             [
-              "dense_4",
+              "dense_3",
               0,
               0,
               {}
@@ -369,17 +357,17 @@
     ],
     "output_layers": [
       [
-        "dense_1",
+        "dense",
         0,
         0
       ],
       [
-        "dense_5",
+        "dense_4",
         0,
         0
       ]
     ]
   },
-  "keras_version": "2.3.1",
+  "keras_version": "2.10.0",
   "backend": "tensorflow"
 }
\ No newline at end of file