Browse Source

Update keras.js

Lutz Roeder 6 years ago
parent
commit
79bfded426
1 changed files with 1 additions and 2 deletions
  1. 1 2
      src/keras.js

+ 1 - 2
src/keras.js

@@ -175,8 +175,7 @@ keras.Model = class {
             }
         }
         
-        this._activeGraph = new keras.Graph(metadata, model_config, weights);
-        this._graphs.push(this._activeGraph);
+        this._graphs = [ new keras.Graph(metadata, model_config, weights) ];
     }
 
     get name() {