Răsfoiți Sursa

Update keras.js

Lutz Roeder 6 ani în urmă
părinte
comite
79bfded426
1 a modificat fișierele cu 1 adăugiri și 2 ștergeri
  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() {