AparapiSoftReLU c = new AparapiSoftReLU();
c.addActivationFunction(new SoftmaxFunction());
lc.addConnectionCalculator(l, c);
}
} else if (Util.isConvolutional(l)) {
lc.addConnectionCalculator(l, new AparapiConv2DSoftReLU());
} else {
lc.addConnectionCalculator(l, new AparapiSoftReLU());
}
} else {
lc.addConnectionCalculator(l, new ConstantConnectionCalculator());