public float[] getOutput() {
        float[] output = new float[outputNs];
        for (int i = 0; i < outputNs; i++) {
            output[i] = getOutputNeuron(i).getFired() == FiringState.FIRED ? 1f : 0f;
        }
        return output;
    }