فهرست منبع

Update keras.js

Lutz Roeder 6 سال پیش
والد
کامیت
79bfded426
1فایلهای تغییر یافته به همراه1 افزوده شده و 2 حذف شده
  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() {