(2015) and Press and Wolf (2016), we do not allow successive minibatches to sequentially traverse the dataset.
we follow the standard practice to reinitialize the hidden state of the network at the beginning of each mini-batch, by setting it to all zeros.