Esempio n. 1
0
 public XDocument Serialize(MultilayerPerceptron network)
 {
     return new XDocument(new XElement("root",
         new XElement("layers",network.Structure.Layers.Length.ToString()),
         GetElements(network.Structure)));
 }
Esempio n. 2
0
 public XDocument Serialize(MultilayerPerceptron network)
 {
     return(new XDocument(new XElement("root",
                                       new XElement("layers", network.Structure.Layers.Length.ToString()),
                                       GetElements(network.Structure))));
 }