public void reset() {

        hiddenLayer.fillNeuronsByOne();
        recurrentLayer.fillNeuronsByOne();
        Arrays.fill(bpttHistory, 0);

        for (int i = 2; i < conf.bptt + conf.bpttBlock; ++i) {
            bpttHiddenLayers[i].zero();
        }
    }