/** {@inheritDoc} */ @Override public boolean hasBias() { for (final FreeformNeuron neuron : this.neurons) { if (neuron.isBias()) { return true; } } return false; }
/** {@inheritDoc} */ @Override public int sizeNonBias() { int result = 0; for (final FreeformNeuron neuron : this.neurons) { if (!neuron.isBias()) { result++; } } return result; }