public void Save(string path, bool copyOnlyParams = false)
        {
            FastNN.FastNN nn = this.nn;

            if (copyOnlyParams == true)
            {
                nn = this.nn.CopyOnlyParams();
            }

            Global.SerializeObject <MyNN>(new MyNN(nn), path);
        }
 public MyNN(FastNN.FastNN nn)
 {
     this.nn = nn;
 }
 public MyNN(int[] numNeurons, int miniBatchSize, bool l2loss, float dropoutProb = 0)
 {
     nn = new FastNN.FastNN(numNeurons, miniBatchSize, l2loss, dropoutProb);
 }