Ejemplo n.º 1
0
 /// <summary>
 /// Copy constructor
 /// </summary>
 /// <param name="source">Source instance</param>
 public HiddenLayerSettings(HiddenLayerSettings source)
 {
     NumOfNeurons  = source.NumOfNeurons;
     ActivationCfg = ActivationFactory.DeepCloneActivationSettings(source.ActivationCfg);
     return;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// The copy constructor.
 /// </summary>
 /// <param name="source">The source instance.</param>
 public HiddenLayerSettings(HiddenLayerSettings source)
     : this(source.NumOfNeurons, source.ActivationCfg)
 {
     return;
 }