示例#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;
 }
示例#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;
 }