Exemplo n.º 1
0
        static public FeedForwardNetwork Load(string _FileName)
        {
            BinaryFormatter    binaryFormatter = new BinaryFormatter();
            FileStream         fileReader      = new FileStream(_FileName, FileMode.Open);
            FeedForwardNetwork Result          = (FeedForwardNetwork)binaryFormatter.Deserialize(fileReader);

            fileReader.Close();
            return(Result);
        }
Exemplo n.º 2
0
 public FeedForwardNetwork(FeedForwardNetwork _Example)
 {
     Layers             = new List <ActivationLayer>(_Example.Layers);
     ActivationFunction = _Example.ActivationFunction;
 }