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