Exemplo n.º 1
0
 /// <summary>
 /// Instanciate a new neural network.
 /// </summary>
 /// <remarks>
 /// Don't forget to bind your input data right after this.
 /// </remarks>
 public Network()
 {
     ConfigNode.AttachRootNodeToHost(this);
     _inputLayer = new Layer(_node.BuildChild(), 0);
     _lastLayer  = _inputLayer;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Instanciate a new neural network.
 /// </summary>
 /// <remarks>
 /// Don't forget to bind your input data right after this.
 /// </remarks>
 public Network(ConfigNode rootConfig)
 {
     rootConfig.AttatchToHost(this);
     _inputLayer = new Layer(_node.BuildChild(), 0);
     _lastLayer  = _inputLayer;
 }