Ejemplo n.º 1
0
 public void LoadStructureWeightsAndParams(string path)
 {
     if (!File.Exists(path))
     {
         throw new Exception("Could not find network file " + path);
     }
     NetSerializer.DeserializeNet(path, this);
     this.CopyToGpu();
 }
Ejemplo n.º 2
0
 public void SaveWeightsAndParams(string path)
 {
     NetSerializer.SerializeNet(path, this);
 }