Calculates the unit activations and returns them in a list.
tanSigmoidUnit(data, weights)The data matrix for the calculation
The weight and bias matrix for the calculation
A list with the activation of the transfer function in the first entry
Other DArch unit functions: binSigmoidUnit;
linearUnitDerivative;
linearUnit;
maxoutUnitDerivative;
sigmoidUnitDerivative;
sigmoidUnit;
softmaxUnitDerivative;
softmaxUnit;
tanSigmoidUnitDerivative