public void TSSetUp() { l1 = Utility.Generate <Link>(() => new Link(), 36).ToArray(); l2 = Utility.Generate <Neuron>(() => new Neuron(new Sigmoid()), 4).ToArray(); Bias = new Bias(1); Cma = new ConvolutionAuto(4, 1, 1, 2); Cma.Connect(l1, l2, Bias); }
public void TSSetUp() { l1 = Utility.Generate <Link>(() => new Link(), 841).ToArray(); l2 = Utility.Generate <Neuron>(() => new Neuron(new Sigmoid()), 1014).ToArray(); Func <double> wg = () => Weight++; Bias = new Bias(1); Cma = new ConvolutionAuto(5, 6, 1, 3); Cma.Connect(l1, l2, Bias); }